Pandas读写CSV文件的方法示例 读csv使用pandas读取importpandasaspdimportcsvifname=='__main__':#header=0——表示csv文件的第一行默认为d Pandas读写CSV