I am trying to pickle a DataFrame with
import pandas as pd from pandas import DataFrame data = pd.read_table(\'Purchases.tsv\',index_col=\'coreuserid\') data
You can try create a class from your DataFrame and pickle it after.
This can help you: Pass pandas dataframe into class
Fast forward a few years, and now it works fine. Thanks pandas ;)