将数据可视化有许多选择: 选择什么样的表现方式通常取决于: 1、Labels 2、Ticks 3、Sizes 之所以把 pop 换成 np_pop 是因为 np_pop 可以方便的整体数学运算, list 不具备这样的性质。 5、Colors c 设置颜色, alpha 设置透明度。 6、定制化补充 ...
分类:
编程语言 时间:
2018-01-16 14:05:49
阅读次数:
243
代码: 运行结果: 2、模拟信号经过Fs=8000sample/sec采样后,得采样信号的谱,如下图,0.75π处为假频。 脉冲响应序列如下: 系统的频率响应,即脉冲响应序列的DTFT: 输出信号及其DTFT: 3、第3小题中的模拟信号经Fs=8000采样后,数字角频率为π, 采样后信号的谱: 采样 ...
分类:
其他好文 时间:
2018-01-12 01:51:24
阅读次数:
310
转自:http://blog.csdn.net/stevenkwong/article/details/52528616 1 concat 参数说明 objs: series,dataframe或者是panel构成的序列lsit axis: 需要合并链接的轴,0是行,1是列 join:连接的方式 i ...
分类:
其他好文 时间:
2018-01-10 18:35:52
阅读次数:
318
定义如下: reduce_sum 是 tensor 内部求和的工具。其参数中: 1. input_tensor 是要求和的 tensor 2. axis 是要求和的 rank,如果为 none,则表示所有 rank 都要仇和 3. keep_dims 求和后是否要降维 4. 这个操作的名称,可能在 ...
分类:
其他好文 时间:
2018-01-10 16:54:44
阅读次数:
170
A. The Way to Home A frog lives on the axis Ox and needs to reach home which is in the point n. She starts from the point 1. The frog can jump to the ...
分类:
其他好文 时间:
2018-01-06 15:54:41
阅读次数:
293
1 >>> a = np.array([[1, 2], [3, 4]]) 2 >>> np.std(a) # 计算全局标准差 3 1.1180339887498949 4 >>> np.std(a, axis=0) # axis=0计算每一列的标准差 5 array([ 1., 1.]) 6 >>>... ...
分类:
编程语言 时间:
2017-12-28 16:09:03
阅读次数:
277
? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 5 ...
分类:
其他好文 时间:
2017-12-28 13:58:30
阅读次数:
188
Pandas基础篇 Pandas基于Numpy开发,提供了很多高级的数据处理功能。 1、Pandas中的数据对象 Series和DataFrame是Pandas中最常用的两个对象。 1.1 Series对象 是Pandas中最基本的对象,可用Numpy的数组处理函数直接对Series对象进行处理。支 ...
分类:
其他好文 时间:
2017-12-27 21:34:41
阅读次数:
909
删除pandas DataFrame的某一/几列: 方法一:直接del DF['column-name'] 方法二:采用drop方法,有下面三种等价的表达式: 1. DF= DF.drop('column_name', 1); 2. DF.drop('column_name',axis=1, inp ...
分类:
编程语言 时间:
2017-12-26 11:58:08
阅读次数:
2388