Skip to content

WARN: warnings on dateoffse & timedelta arithmetic #19409

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

Closed
jreback opened this issue Jan 26, 2018 · 1 comment · Fixed by #19446
Closed

WARN: warnings on dateoffse & timedelta arithmetic #19409

jreback opened this issue Jan 26, 2018 · 1 comment · Fixed by #19446
Labels
Frequency DateOffsets Timedelta Timedelta data type
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Jan 26, 2018

pandas/tests/series/test_operators.py::TestTimedeltaSeriesArithmetic::()::test_timedelta64_operations_with_DateOffset
  /Users/jreback/pandas/pandas/core/indexes/timedeltas.py:438: PerformanceWarning: Adding/subtracting array of DateOffsets to <class 'pandas.core.indexes.timedeltas.TimedeltaIndex'> not vectorized
    PerformanceWarning)

-- Docs: http://doc.pytest.org/en/latest/warnings.html
======================================================================================= 290 passed, 9 xfailed, 15 xpassed, 1 warnings in 2.37 seconds =======================================================================================

@jbrockmendel is this expected? if so should be explicitly caught

@jreback jreback added Timedelta Timedelta data type Frequency DateOffsets labels Jan 26, 2018
@jreback jreback added this to the 0.23.0 milestone Jan 26, 2018
@jbrockmendel
Copy link
Member

Should be an easy fix. I'll make a PR after the current set clears out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frequency DateOffsets Timedelta Timedelta data type
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants