hypothesis.extra.pandas
: generate timezone-aware datetime columns
#4020
Labels
enhancement
it's not broken, but we want it to be better
interop
how to play nicely with other packages
In pydata/xarray#9174, I've been trying to find a way to generate timezone-aware datetime columns using
pdst.column
, where the entire column would have the same timezone: I believepandas
doesn't support varying timezones outside of theobject
dtype.However, it doesn't seem like
hypothesis.extra.pandas
currently supports this usingpdst.column
(I didn't check whether the creation of timezone-aware datetime indexes would work, though).Would it be possible to add something to that end?
Not sure how that would look API-wise, but in addition to a timezone strategy, I'd also like to be able to specify the datetime unit (since
xarray
is currently restricted to just nanosecond resolution).The text was updated successfully, but these errors were encountered: