This is an automated email from the ASF dual-hosted git repository. beto pushed a commit to branch remove-deprecated-function in repository https://gitbox.apache.org/repos/asf/superset.git
commit e32e513cc9038602069718b6c8c2eb254a8c9dc9 Author: Beto Dealmeida <[email protected]> AuthorDate: Fri Jan 9 14:09:14 2026 -0500 chore: remove deprecated function --- superset/utils/excel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/utils/excel.py b/superset/utils/excel.py index 46e1a1f071..83061b5d27 100644 --- a/superset/utils/excel.py +++ b/superset/utils/excel.py @@ -76,7 +76,7 @@ def apply_column_types( ) except ValueError: df[column] = df[column].astype(str) - elif pd.api.types.is_datetime64tz_dtype(df[column]): + elif isinstance(df[column].dtype, pd.DatetimeTZDtype): # timezones are not supported df[column] = df[column].astype(str) return df
