Fastai: [Minor Issue] pandas_summary package missing (pip installation)

Created on 2 Oct 2018  路  4Comments  路  Source: fastai/fastai

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'

Most helpful comment

pip install pandas-summary
Just enter that it should work

All 4 comments

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

conda install -c conda-forge pandas-summary

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.

Was this page helpful?
0 / 5 - 0 ratings