【Pandas | 01】数据读取篇「read_csv,read_excel,read_json,read_sql」
前言本系列教程中,Pandas默认版本为V1.1.1,如遇到报错,可以尝试升级Pandas版本。代码是基于notebook环境编写运行的,如果是使用Pycharm等编辑器,df.head()等代码会失效。推荐使用Jupyter notebook,可以通过语句pip install jupyter来进行安装,在终端输入jupyter notebook来使用。导入Pandasimport pandas as pdCSV文件读取csv是在数据处理过程中比较常见的一种文件格式。采用逗号分隔的纯