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:
Beto Dealmeida
2021-08-18 17:00:29 -07:00
committed by GitHub
parent efe850b731
commit afb8bd5fe6
11 changed files with 295 additions and 428 deletions

View File

@@ -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"]