Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The usage of “json_normalize” has been changed in the latest pandas version #9

Closed
FunkyFrog1 opened this issue Oct 13, 2023 · 0 comments

Comments

@FunkyFrog1
Copy link

ImportError: cannot import name 'json_normalize' from 'pandas.io.json' (D:\anaconda3\envs\SD\Lib\site-packages\pandas\io\json_init_.py)

I use "pandas 2.1.1" in my project, and when I tried to from nsd_access import NSDAccess, I found that in the latest version, pandas used "pandas.json_normalize" instead of "pandas.io.json.json_normalize"

To fix this issue, replace from pandas.io.json import json_normalize with from pandas import json_normalize in nsda.py

@tknapen tknapen closed this as completed Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants