remove after pandas.to_json(orient='split')
up vote
0
down vote
favorite
I am trying to send data to a chart using:
myjson = df.to_json(orient='split')
The problem I that when I see the information on myjson I see the information with many / characters:
"{"date": "11-11-2018",
"descriptor": "111",
"data": "{\"columns\":[
\"cddescriptor\",
\"fechapublicacion\",
...
json.dumps(results)
Is there a way to remove this?
json python-3.x pandas
add a comment |
up vote
0
down vote
favorite
I am trying to send data to a chart using:
myjson = df.to_json(orient='split')
The problem I that when I see the information on myjson I see the information with many / characters:
"{"date": "11-11-2018",
"descriptor": "111",
"data": "{\"columns\":[
\"cddescriptor\",
\"fechapublicacion\",
...
json.dumps(results)
Is there a way to remove this?
json python-3.x pandas
Please try returningjson.loads(myjson)
.
– Chirag
3 hours ago
I am usingjson.dumps()
– jalazbe
3 hours ago
thanks.loads
did work
– jalazbe
3 hours ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am trying to send data to a chart using:
myjson = df.to_json(orient='split')
The problem I that when I see the information on myjson I see the information with many / characters:
"{"date": "11-11-2018",
"descriptor": "111",
"data": "{\"columns\":[
\"cddescriptor\",
\"fechapublicacion\",
...
json.dumps(results)
Is there a way to remove this?
json python-3.x pandas
I am trying to send data to a chart using:
myjson = df.to_json(orient='split')
The problem I that when I see the information on myjson I see the information with many / characters:
"{"date": "11-11-2018",
"descriptor": "111",
"data": "{\"columns\":[
\"cddescriptor\",
\"fechapublicacion\",
...
json.dumps(results)
Is there a way to remove this?
json python-3.x pandas
json python-3.x pandas
edited 3 hours ago
asked 3 hours ago
jalazbe
354217
354217
Please try returningjson.loads(myjson)
.
– Chirag
3 hours ago
I am usingjson.dumps()
– jalazbe
3 hours ago
thanks.loads
did work
– jalazbe
3 hours ago
add a comment |
Please try returningjson.loads(myjson)
.
– Chirag
3 hours ago
I am usingjson.dumps()
– jalazbe
3 hours ago
thanks.loads
did work
– jalazbe
3 hours ago
Please try returning
json.loads(myjson)
.– Chirag
3 hours ago
Please try returning
json.loads(myjson)
.– Chirag
3 hours ago
I am using
json.dumps()
– jalazbe
3 hours ago
I am using
json.dumps()
– jalazbe
3 hours ago
thanks.
loads
did work– jalazbe
3 hours ago
thanks.
loads
did work– jalazbe
3 hours ago
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
myjson = df.to_json(orient='split')
json.loads(myjson)
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
myjson = df.to_json(orient='split')
json.loads(myjson)
add a comment |
up vote
1
down vote
accepted
myjson = df.to_json(orient='split')
json.loads(myjson)
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
myjson = df.to_json(orient='split')
json.loads(myjson)
myjson = df.to_json(orient='split')
json.loads(myjson)
answered 3 hours ago
Chirag
45727
45727
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53370631%2fremove-after-pandas-to-jsonorient-split%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please try returning
json.loads(myjson)
.– Chirag
3 hours ago
I am using
json.dumps()
– jalazbe
3 hours ago
thanks.
loads
did work– jalazbe
3 hours ago