Open egproulx opened 5 years ago
I'm getting this error related to pandas
In [4]: with open("preprocessed_training_dataframe.pkl", "rb") as jar:
...: data =pickle.load(jar)
...:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-4-803e9c5c5903> in <module>
1 with open("preprocessed_training_dataframe.pkl", "rb") as jar:
----> 2 data =pickle.load(jar)
3
ModuleNotFoundError: No module named 'pandas.core.internals.managers'; 'pandas.core.internals' is not a package
I'm getting this error related to pandas
In [4]: with open("preprocessed_training_dataframe.pkl", "rb") as jar: ...: data =pickle.load(jar) ...: --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-4-803e9c5c5903> in <module> 1 with open("preprocessed_training_dataframe.pkl", "rb") as jar: ----> 2 data =pickle.load(jar) 3 ModuleNotFoundError: No module named 'pandas.core.internals.managers'; 'pandas.core.internals' is not a package
fixed using
pd.read_pickle("preprocessed_training_dataframe.pkl")
Script should preprocess the data and apply relevant feature engineering technique seen in class