📌  相关文章
📜  pandas 用列表保存数据框 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:08.489000             🧑  作者: Mango

代码示例1
"""
  write/read your pandas.DataFrame as a pickle (.pkl) file
  to keep the list data structure
"""

# write
df.to_pickle('path/to/filename.pkl')

# read
df.read_picke('path/to/filename.pkl')