pd.read_csv use_cols
时间: 2023-08-10 13:04:52 浏览: 202
pandas.read_csv参数详解(小结)
引用\[3\]中提到了pd.read_csv()函数的参数列表,其中包括了usecols参数。usecols参数用于指定要读取的列,可以是列的索引或列名的列表。通过设置usecols参数,可以只读取感兴趣的列,而不需要读取整个文件的内容。
#### 引用[.reference_title]
- *1* [pd.read_csv用法](https://blog.csdn.net/weixin_44056331/article/details/89366105)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [pd.read_csv参数详解](https://blog.csdn.net/weixin_50547586/article/details/120555157)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [pd.read_csv()常用参数](https://blog.csdn.net/dc19971118/article/details/107721340)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文