I am exploring the Jupiter notebook for Python. While calling this method "Access OutbreakLocation data" I get this exception in Python 3.6: getting AttributeError: module 'pandas' has no attribute 'json_normalize'

Any ideas how can we fix this issue?

3 Answers

I too had this error, the solution is load pandas of the following way:

from pandas.io.json import json_normalize 

This is due to version change of the pandas library.

2

Make sure to update to Pandas 1.0.3. Pandas prior to version 1 doesn't have json_normalize.

!pip install --user pandas==1.0.3 import pandas as pd pd.__version__ 

ibm studio was running a pandas version 0.24. By using above commands it was upgraded to version 1.0.3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy