python数据分析常用库

numpy 创建矩阵: 引入numpy库并生成矩阵 import numpy as np a = np.array([[1,2,3],[4,5,6]]) 常用方法: 矩阵元素个数 a.size 矩阵形状 a.shape 矩阵维度 a.ndim 矩阵元素类型 a.dtpye 矩阵的加减乘除 。np.dot(x,y) pandas Pandas 是基于 NumPy 的一个开源 Python 库,它被广
相关文章
相关标签/搜索