Skip to content

Commit

Permalink
Handle arrow-backed timestamp columns in type inference
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Jul 29, 2023
1 parent 951a304 commit 57a4ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion altair/utils/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def infer_vegalite_type_for_dfi_column(
# error message for the presence of datetime64.
#
# See https://github.com/pandas-dev/pandas/issues/54239
if "datetime64" in e.args[0]:
if "datetime64" in e.args[0] or "timestamp" in e.args[0]:
return "temporal"
raise e

Expand Down

0 comments on commit 57a4ad7

Please sign in to comment.