We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ts = pd.Timestamp(2999, 1, 1) ts2 = ts.tz_localize("US/Pacific") dtype = pd.DatetimeTZDtype("us", "US/Pacific") >>> ser = pd.Series([ts2], dtype=dtype) [...] pandas._libs.tslibs.np_datetime.OutOfBoundsDatetime: Cannot cast 2999-01-01 00:00:00-08:00 to unit='ns' without overflow.