Ch3 : notebook_wrangle_data.ipynb
sridhar-v opened this issue · 2 comments
getting the following error.
(Im a Prof. utilizing your Book as Text book)
Kindly help.
when i execute ln 4: describe_dataframe(df)
getting the following Error
Dataframe Sample Rows::
NameError Traceback (most recent call last)
in ()
----> 1 describe_dataframe(df)
in describe_dataframe(df)
111
112 print("Dataframe Sample Rows::")
--> 113 display(df.head(5))
114
115 def cleanup_column_names(df,rename_dict={},do_inplace=True):
NameError: name 'display' is not defined
Hi @sridhar-v
Thanks for reaching out. The notebook somehow is missing the following import statement:
from IPython.display import display
Kindly use the above statement before executing the said line. We will update the notebook in a future push.
Do let us know if this helped.
solution provided. closing due to inactivity.