随笔分类 - 数据分析
摘要:pandas读取表格的方法:1、读取全部数据df = pd.read_excel ( 文件位置 ) 2、读取表格的索引、表头df = pd.read_excel ( 文件位置 )df.index.valuesdf.columns.values 3、读取每一行的数据(以列表的形式返回数据)df = p
阅读全文
posted @ 2023-01-11 14:16
昌尐
摘要:numpy1、构造:类型强制统一的特点 str>float>int np.array( [ ] )np.ones(shape) np.zero( ) np.full( fill_value )np.eye( )np.linspace( low,high,num ) np.arrange( start
阅读全文

浙公网安备 33010602011771号