index_col 表示将某一列或某几列作为索引 index_col= ['a'] index_col= ['a','b'] usecols 表示读取哪一列 不设置为默认读取全部列 usecols= ['a','b','c'] parse_dates 表示将某一列设置为 时间类型 parse_dates= ['col'] nrows 表示读取的数据行数 nrows= 2 ...
header 表示将第几行设置为列名 header = None header = 3 1. 2. 3. 4. 5. index_col 表示将某一列或某几列作为索引 index_col = ['a'] index_col = ['a','b'] 1. 2. 3. 4. usecols 表示读取哪一列 不设置为默认读取全部列 usecols = ['a','b','c'] 1. 2. 3. 4. 5. parse...