Getting Attributeerror: Module 'Pandas' Has No Attribute 'Json_Normalize' While Calling Method "Access Outbreaklocation Data"
I Am Exploring the Jupiter Notebook for Python. While Calling This Method "Access Outbreaklocation Data" I Get This Exception in Python 3.6: Getting...
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.
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