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

Series[timedelta64] +/- TimedeltaIndex inherits name from TimedeltaIndex #19043

jbrockmendel opened this Issue Jan 3, 2018 · 0 comments


None yet
3 participants

jbrockmendel commented Jan 3, 2018

Opening mainly for an issue to reference in upcoming PR.

This behavior is not present in 0.22.0, is present in master as of 04beec7

tdi = pd.TimedeltaIndex(['1day', '2days', '3days'])
ser = pd.Series(tdi) = 'foo' = 'bar'

>>> (tdi + ser).name
>>> (ser + tdi).name
>>> (ser - tdi).name
>>> (tdi - ser).name

These names should all be coming back as None.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment