Django REST Framework + pandas = A Model-driven Visualization API
Django REST Pandas (DRP) provides a simple way to generate and serve pandas DataFrames via the Django REST Framework. The resulting API can serve up CSV (and a number of other formats for consumption by a client-side visualization tool like @wq/analyst:
// @wq/analyst
{
"title": "Live Demo",
"url": "/weather.csv",
"initial_rows": 10,
"initial_order": {
"date": "desc"
},
"formats": {
"csv": "CSV",
"xlsx": "Excel",
"json": "JSON",
"html": "HTML"
}
}
News
This site is under construction.