in pandas we can save data using to_pickle code example
Example: pandas save file to pickle
import pandas as pd
df.to_pickle(file_name) # save
df = pd.read_pickle(file_name) # load
import pandas as pd
df.to_pickle(file_name) # save
df = pd.read_pickle(file_name) # load