[FEA] Add support for timezone-aware data to from_pandas
#13611
Labels
0 - Backlog
In queue waiting for assignment
feature request
New feature or request
Python
Affects Python cuDF API.
Is your feature request related to a problem? Please describe.
Support for timezone-aware datetimes is ongoing in #12813, and currently timezone-aware operations like
tz_convert
andtz_localize
are supported.However, when trying to load in a pandas dataframe with timezone-aware data using
from_pandas
, we still error with a message that implies that timezone-aware datetimes aren't yet supported:Describe the solution you'd like
Either adding support for timezone-aware data to
from_pandas
, or updating the error message to indicate to users workarounds they can use while support is in progress.Describe alternatives you've considered
It is generally possible to move timezone-aware data from pandas to cuDF by storing the timezone information somewhere, converting the data to timezone-naive (
dt.tz_localize(None)
) and then restoring the information once it's been read in withfrom_pandas
.The text was updated successfully, but these errors were encountered: