Getting AttributeError: module 'pandas' has no attribute 'json_normalize' while calling method "Access OutbreakLocation data"

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


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.


!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

Tags:

Python