I'm trying to generate excel/CSV files as a response generated at runtime. I tried using flask-excel but not getting the expected results. For example: if the data in DB is,
| name | age | sex | | ---- | --- | ----- | | Ram | 25 | male | | Sita | 24 | female|
the output excel should look similar to this.