-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
pandas.Series does not allow adding timedeltas to series of timestamps with datetime information #10763
Comments
pls pd.show_versions() |
this by definition won't work because tzs are not a real dtype (coming soon though) and FYI numpy looks like it works but is actually do the wrong thing - it silently coerces to UTC |
INSTALLED VERSIONScommit: None pandas: 0.15.2 |
So the only option is to do it row-by-row? |
fix scalar comparisons vs None generally fix NaT formattting in Series TST: skip postgresql test with tz's update for msgpack Conflicts: pandas/core/base.py pandas/core/categorical.py pandas/core/format.py pandas/tests/test_base.py pandas/util/testing.py full interop for tz-aware Series & timedeltas pandas-dev#10763
fix scalar comparisons vs None generally fix NaT formattting in Series TST: skip postgresql test with tz's update for msgpack Conflicts: pandas/core/base.py pandas/core/categorical.py pandas/core/format.py pandas/tests/test_base.py pandas/util/testing.py full interop for tz-aware Series & timedeltas pandas-dev#10763
fix scalar comparisons vs None generally fix NaT formattting in Series TST: skip postgresql test with tz's update for msgpack Conflicts: pandas/core/base.py pandas/core/categorical.py pandas/core/format.py pandas/tests/test_base.py pandas/util/testing.py full interop for tz-aware Series & timedeltas pandas-dev#10763
xref #10477
It is possible with numpy, but not with pandas:
s + ds
throws an errorufunc add cannot use operands with types dtype('O') and dtype('<m8[ns]')
The text was updated successfully, but these errors were encountered: