python---打开文件的方法

目前接触到的以下三种方法: 1.numpy  (import numpy as np) read: file = np.loadtxt('input_file.csv/txt', skiprows=1, dtype=person_type)#将数据加载到数组,skiprows=1跳过标题行,person_type=dtype([('col_name1', 'type1'), ('col_name2
相关文章
相关标签/搜索