码迷,mamicode.com
首页 >  
搜索关键字:axis    ( 1112个结果
pandas的replace方法
就是将一个值替换为另一个值,以前我用的是赋值方式,这里应该效率会高。 1.说明: 语法:replace(self, to_replace=None, value=None, inplace=False, limit=None, regex=False, method='pad', axis=None ...
分类:其他好文   时间:2018-09-08 18:55:15    阅读次数:156
pandas的concat方法
concat方法,用于拼接pandas数据,用处比较大 函数: 参数说明: objs:pandas数据,可以是series,dataFrame,或者是panel构成的序列 axis:需要合并拼接的轴,0表示行,1表示列 join:连接的方式,inner,outer 例子: 上面是将两个dataFra ...
分类:其他好文   时间:2018-09-08 17:16:40    阅读次数:302
UIStackView
串哥图片—UIStackView 也是一个很特殊的View,但很好用,非常方便我们用于布局一个方向上;先来了解下以下几个它的参数的含义 @property(nonatomic) UILayoutConstraintAxis axis; //横向或竖向 @property(nonatomic) UIS ...
分类:其他好文   时间:2018-09-06 19:51:23    阅读次数:164
使用python matplotlib.pyplot画矩形框
当前的图表和子图可以使用plt.gcf()和plt.gca()获得, 在Rectangle函数中 (x_rect, y_rect)代表矩形框的起始点(矩形框的左下角点),target_height*Tr/480, target_weight*fr/fft_2pow_point分别代表矩形框的长度和宽 ...
分类:编程语言   时间:2018-09-04 19:15:48    阅读次数:3281
pandas的学习6-合并concat
concat是一种基本的合并方式,但是concat有很多参数可以调整 axis=0是预设值,也就是默认就为vertical合并 ignore_index=true 这个参数用于忽略以前的index,生成新的有序的index join合并 join=‘outer’为预设值,按照column做纵向合并, ...
分类:其他好文   时间:2018-09-02 00:01:16    阅读次数:194
pandas的学习1-基本介绍
出处:https://morvanzhou.github.io/tutorials/data-manipulation/np-pd/3-1-pd-intro/ pandas主要的两个数据结构series,dataframe 可以说numpy是列表形式的,没有数据标签,pandas是字典类型的,表格形 ...
分类:其他好文   时间:2018-09-01 21:55:32    阅读次数:197
Highcharts基础应用
绘制出来的图如下: ...
分类:其他好文   时间:2018-09-01 12:27:59    阅读次数:180
R语言做条形图时候,离散变量和连续型变量的区别
1)条形图 条形图或许是最常用图形,常用来展示分类(different categories on the x-axis)和数值(numeric values on the y-axis)之间的关系。sometimes the bar heights represent counts of case ...
分类:编程语言   时间:2018-08-31 19:22:58    阅读次数:3079
关于tensorflow的axis的理解
通过这篇文章,能够理解tensorflow里面的axis: https://blog.csdn.net/fangjian1204/article/details/53055219 可以总结为一句话:设axis=i,则numpy沿着第i个下标变化的放下进行操作。 理解一下: ...
分类:其他好文   时间:2018-08-29 18:00:59    阅读次数:122
[LeetCode] 613. Shortest Distance in a Line_Easy tag: SQL
Table point holds the x coordinate of some points on x-axis in a plane, which are all integers. Write a query to find the shortest distance between tw ...
分类:数据库   时间:2018-08-29 01:11:48    阅读次数:270
1112条   上一页 1 ... 40 41 42 43 44 ... 112 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!