You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
maybe u can revise 'from pandas.io.json import json_normalize ' to 'from pandas.io.json import _normalize' . I check pandas.io.json and only find _normalize.py , there is no json_normalize.py .
in fact ,pandas.io.json.json_normalize is deprecated after pandas 1.0.0, use pandas.json_normalize instead.
I had the exact same error. I'm a very novice programmer so I tried a very simple (and may not the best) solution but it worked: I duplicated and renamed the _normalize file to json_normalize in the ...\AppData\Local\Programs\Python\Python312\Lib\site-packages\pandas\io\json folder. This way I have both _normalize and json_normalize.
If you have a more professional fix please share!
Problem description
Just followed the snippet from the main page
Example
Expected behavior
I should see market data like this:
Actual behavior
Environment
The text was updated successfully, but these errors were encountered: