pandas 5 导入导出 读取保存 I/O API

官网The pandas I/O API

pandas 5 导入导出 读取保存 I/O API

  • pickle格式是python自带的
from __future__ import print_function
import pandas as pd

data = pd.read_csv('student.csv')  # 读取数据 read from
print(data)
data.to_pickle('student.pickle')   # 保存数据 save to

END

posted @ 2019-02-26 14:55 YangZhaonan 阅读(...) 评论(...) 编辑 收藏

相关文章:

  • 2021-05-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2021-05-15
  • 2022-02-14
  • 2021-08-11
猜你喜欢
  • 2022-12-23
  • 2021-08-01
  • 2021-08-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案