Skip to content

Commit

Permalink
Remove zone
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Feb 2, 2024
1 parent fae83f2 commit c114015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastparquet/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ def get_column_metadata(column, name, object_dtype=None):
dtype = column.cat.codes.dtype
elif isinstance(dtype, pd.DatetimeTZDtype):
if isinstance(dtype.tz, zoneinfo.ZoneInfo):
extra_metadata = {'timezone': dtype.tz.zone.key}
extra_metadata = {'timezone': dtype.tz.key}
else:
try:
stz = str(dtype.tz)
Expand Down

0 comments on commit c114015

Please sign in to comment.