mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
feat: improve embedded data table in text reports (#16335)
* feat: improve HTML table in text reports * Remove unused import * Update tests * Fix test
This commit is contained in:
@@ -101,6 +101,7 @@ def _get_full(
|
||||
status = payload["status"]
|
||||
if status != QueryStatus.FAILED:
|
||||
payload["colnames"] = list(df.columns)
|
||||
payload["indexnames"] = list(df.index)
|
||||
payload["coltypes"] = extract_dataframe_dtypes(df)
|
||||
payload["data"] = query_context.get_data(df)
|
||||
del payload["df"]
|
||||
|
||||
Reference in New Issue
Block a user