Skip to content

Conversation

@behzadnouri
Copy link
Contributor

closes #10289

on master:

>>> df 1st 2nd 3rd 4th 5th a 10 1 foo 0.1 0.01 b 20 2 bar 0.2 0.02 c 30 3 baz 0.3 0.03 d 40 4 qux 0.4 0.04 >>> read_json(df.to_json(orient='index'), orient='index', convert_axes=False) 1st 2nd 3rd 4th 5th a 40 4 qux 0.4 0.04

on branch:

>>> read_json(df.to_json(orient='index'), orient='index', convert_axes=False) 1st 2nd 3rd 4th 5th a 10 1 foo 0.1 0.01 b 20 2 bar 0.2 0.02 c 30 3 baz 0.3 0.03 d 40 4 qux 0.4 0.04
@jreback jreback added Bug IO JSON read_json, to_json, json_normalize labels Jun 7, 2015
@jreback jreback added this to the 0.16.2 milestone Jun 7, 2015
jreback added a commit that referenced this pull request Jun 7, 2015
BUG: bug in json serialization when frame has mixed types
@jreback jreback merged commit 03ccc34 into pandas-dev:master Jun 7, 2015
@jreback
Copy link
Contributor

jreback commented Jun 7, 2015

thanks you sir!

@behzadnouri behzadnouri deleted the json-mixed-type branch August 22, 2015 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug IO JSON read_json, to_json, json_normalize

2 participants