-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
json_normalize should be able to accept an empty list #15534
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
Comments
yep, I think returning an empty |
4 tasks
rgbkrk
added a commit
to rgbkrk/pandas
that referenced
this issue
Mar 1, 2017
rgbkrk
added a commit
to rgbkrk/pandas
that referenced
this issue
Mar 4, 2017
rgbkrk
added a commit
to rgbkrk/pandas
that referenced
this issue
Mar 4, 2017
jorisvandenbossche
pushed a commit
that referenced
this issue
Mar 4, 2017
AnkurDedania
pushed a commit
to AnkurDedania/pandas
that referenced
this issue
Mar 21, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Code Sample, a copy-pastable example if possible
Problem description
This should probably return an empty dataframe when the list is empty, based on
len(data)
being 0.Expected Output
Admittedly, this could be a series too -- I was using this across several collections and noticed I had to code around when some entries were empty.
Output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: