Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise NotImplementedError for to_datetime with z format (#14037)
Avoids timezone information from being dropped in `to_datetime` when the z directive is provided ```python In [1]: import cudf In [2]: fmt = '%Y-%m-%d %H:%M:%S %Z' ...: dates = ['2010-01-01 12:00:00 UTC', '2010-01-01 12:00:00 UTC'] In [3]: cudf.to_datetime(dates, format=fmt) Out[3]: DatetimeIndex(['2010-01-01 12:00:00', '2010-01-01 12:00:00'], dtype='datetime64[ns]') ``` Authors: - Matthew Roeschke (https://github.com/mroeschke) Approvers: - Lawrence Mitchell (https://github.com/wence-) URL: #14037
- Loading branch information