pd.read_excel的chunksize
时间: 2023-10-29 07:20:49 浏览: 627
pd.read_excel的chunksize参数是用来指定读取Excel文件时的分块大小的。该参数可以将大文件分割成多个较小的块,以便在处理数据时节约内存的使用。通过指定chunksize,可以实现流式加载和计算Excel文件,从而有效地处理大型Excel文件而不会导致内存不足的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [python pandas读写excel/csv文件 .read_excel .to_excel .read_csv .to_csv](https://blog.csdn.net/weixin_36484814/article/details/111907692)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [pd.DataFrame 数据的保存和读取((df.to_csv、df.to_json、df.to_html、df.to_excel))](https://blog.csdn.net/weixin_39520149/article/details/118219010)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [excel流式加载.py](https://download.csdn.net/download/A41915460/87395550)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文