This is an automated email from the ASF dual-hosted git repository.
beto pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 14c0cad0ba chore: remove deprecated function (#37021)
14c0cad0ba is described below
commit 14c0cad0ba22067ffde4750eb41bf79348a4a259
Author: Beto Dealmeida <[email protected]>
AuthorDate: Fri Jan 9 14:52:53 2026 -0500
chore: remove deprecated function (#37021)
---
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