ModuleNotFoundError Traceback (most recent call last)
<ipython-input-3-9ba440ec021d> in <module>()
2 from fastai.tabular import *
3
----> 4 from pandas_summary import DataFrameSummary
5 from sklearn.ensemble import RandomForestRegressor, RandomForestClassifier
6 from IPython.display import display
ModuleNotFoundError: No module named 'pandas_summary'
You are trying to load a fastai v0.7 file with a pip installation that has probably installed v1.0. If you are looking to use the old version of the library, be sure to follow the instructions here for installation.
pip install pandas-summary
Just enter that it should work
for the anaconda users
In my case, when I type !pip freeze within Jupyter Notebook, pandas_summary is not listed there. However, when I do pip freeze within the terminal, it is clearly listed. I launched Jupyter Notebook from that pip environment, so I'm unclear as to why the module doesn't show up.
Most helpful comment
pip install pandas-summary
Just enter that it should work