-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Series[offsets] + Series[datetime64] fails #19211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
More fundamental than the arithmetic is that Series/arrays of offsets aren't meaningfully defined as a type, compared to, e.g. It wouldn't be an unreasonable addition, something that would have occasionally been useful to me, but a pretty large change. Probably less painful after #19174, et al. |
As you noted, this does actually sort of work (surprise to me!). I suppose may not need to be that invasive, could just involve the dispatch for
|
Looks like this works now on master Could use a test
|
take |
This is tested by tests.arithmetic.test_datetime64.test_dt64arr_add_sub_offset_array, among others. Closing. |
pd.Index(other) + ser
is OK, as isother + pd.DatetimeIndex(ser)
The text was updated successfully, but these errors were encountered: