File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ Format | Content Type | pandas DataFrame Function | Notes
55
55
-------|--------------|---------------------------|--------
56
56
CSV | ` text/csv ` | ` to_csv() ` |   ;
57
57
TXT | ` text/plain ` | ` to_csv() ` | Useful for testing, as most browsers will download a CSV file instead of displaying it
58
- JSON | ` application/json ` | ` to_json() ` | & nbsp ;
58
+ JSON | ` application/json ` | ` to_json() ` | [ ` date_format ` and ` orient ` ] [ to_json ] can be provided in URL (e.g. ` /path.json?orient=columns ` )
59
59
XLSX | ` application/vnd.openxml...sheet ` | ` to_excel() ` |   ;
60
60
XLS | ` application/vnd.ms-excel ` | ` to_excel() ` |   ;
61
61
PNG | ` image/png ` | ` plot() ` | Currently not very customizable, but a simple way to view the data as an image.
@@ -475,5 +475,6 @@ pandas.get('/data/boxplot.csv?group=year', function(data) {
475
475
[ serializers ] : https://github.com/wq/django-rest-pandas/blob/master/rest_pandas/serializers.py
476
476
[ renderers ] : https://github.com/wq/django-rest-pandas/blob/master/rest_pandas/renderers.py
477
477
[ wq/pandas.js ] : http://wq.io/docs/pandas-js
478
+ [ to_json ] : http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.to_json.html
478
479
[ unstacks ] : http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.unstack.html
479
480
[ boxplot_stats ] : http://matplotlib.org/api/cbook_api.html#matplotlib.cbook.boxplot_stats
You can’t perform that action at this time.
0 commit comments