📅  最后修改于: 2022-03-11 14:47:08.489000             🧑  作者: Mango
"""
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')