diff --git a/superset/charts/data/api.py b/superset/charts/data/api.py index d092c69ca372b..72d775b5a6dd8 100644 --- a/superset/charts/data/api.py +++ b/superset/charts/data/api.py @@ -485,7 +485,6 @@ def _convert_data_response( if v == "asc": result_df = result_df.sort_values(by=[k], ascending=True) if result_format == ChartDataResultFormat.XLSX: - result_df = excel.apply_column_types(result_df, query["coltypes"]) result_data = excel.df_to_excel( result_df, **current_app.config["EXCEL_EXPORT"] )