Skip to content

BUG: to_json should raise exception for non-unique index / columns (#4359) #4376

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

Merged
merged 1 commit into from
Jul 28, 2013

Conversation

Komnomnomnom
Copy link
Contributor

Issue #4359

to_json will raise ValueErrors where non-unique indices or columns would cause invalid JSON to be produced. Updated docstring and added some tests.

@jreback
Copy link
Contributor

jreback commented Jul 28, 2013

thanks!

fixing #4377 now

@adhadse
Copy link

adhadse commented Jun 1, 2021

Why don't to_dict can return a list of values for non Unique indexes being the key in dictionary? Came here from issue #22801.

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

Successfully merging this pull request may close these issues.

3 participants