Hello,
I need to construct my json like :
{
"x": [
5.0,
3.0,
8.0,
5.0]
],
"y": [
7.0,
2.0,
6.0,
4.0]
}
I have this, which is exactly what to_json gives:[{"x":5,"y":7},{"x":3,"y":2},{"x":8,"y":6},{"x":5,"y":4}]
Is it possible to change this behavior ?
It might be a pandas question.
Thanks for your efforts ! I understand better how REST works now :)
Thomas
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4