End to End Project - Descriptive Statistics Project (P1)


Getting below error on executing “from ggplot import mtcars”

ModuleNotFoundError Traceback (most recent call last)
3 import pandas as pd
4 import matplotlib.pyplot as plt
----> 5 from ggplot import mtcars

/usr/local/anaconda/lib/python3.6/site-packages/ggplot/init.py in
19 from .geoms import geom_area, geom_blank, geom_boxplot, geom_line, geom_point, geom_jitter, geom_histogram, geom_density, geom_hline, geom_vline, geom_bar, geom_abline, geom_tile, geom_rect, geom_bin2d, geom_step, geom_text, geom_path, geom_ribbon, geom_now_its_art, geom_violin, geom_errorbar, geom_polygon
—> 20 from .stats import stat_smooth, stat_density
22 from .facets import facet_wrap, facet_grid, Facet

/usr/local/anaconda/lib/python3.6/site-packages/ggplot/stats/init.py in
1 from .stat_density import stat_density
----> 2 from .stat_smooth import stat_smooth

/usr/local/anaconda/lib/python3.6/site-packages/ggplot/stats/stat_smooth.py in
4 from …geoms.geom import geom
----> 5 from . import smoothers
6 from …utils import is_date

/usr/local/anaconda/lib/python3.6/site-packages/ggplot/stats/smoothers.py in
2 unicode_literals)
3 import numpy as np
----> 4 from pandas.lib import Timestamp
5 import pandas as pd
6 import statsmodels.api as sm

ModuleNotFoundError: No module named ‘pandas.lib’


I am looking into it.


Please let me know once you resolve this as i cannot proceed with the course.


Sure, this is what we are working on.


Hi Shivom,

It is working now.


Checked.Working now.

Thank You