-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
pd.read_json May Not Maintain Numeric String Index #28556
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
Can I work on this issue? |
The reason why pandas/pandas/io/json/_json.py Lines 916 to 923 in f08a1e6
Do we need to convert If I comment out this line, it breaks tests so much. |
How about change default value of pandas/pandas/io/json/_json.py Lines 580 to 581 in c4de906
|
@jmg7173 are you still looking at this? |
I'm sorry but, why the strings values should be preserved by default? It isn't more comfortable to parse string numbers as integers? |
@sathyz No, you can take this issue. |
Hello @WillAyd, |
Note that the string nature of the values should be preserved via roundtrip here, but ends up being lossy anyway. Noted during refactor of #28510
The text was updated successfully, but these errors were encountered: