Skip to content
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

Fix Index mul/div ops with Series, closes #19080, #19042 #19253

Merged
merged 5 commits into from
Jan 16, 2018

Conversation

jbrockmendel
Copy link
Member

@jreback jreback added Indexing Related to indexing on series/frames, not to indexes themselves Reshaping Concat, Merge/Join, Stack/Unstack, Explode Numeric Operations Arithmetic, Comparison, and Logical operations labels Jan 16, 2018
@jreback
Copy link
Contributor

jreback commented Jan 16, 2018

lgtm. pls add a whatsnew note, bug fix / conversion. in generall anything that is user facing needs a whatsnew note. ping on green.

@jreback jreback added this to the 0.23.0 milestone Jan 16, 2018
@codecov
Copy link

codecov bot commented Jan 16, 2018

Codecov Report

Merging #19253 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #19253      +/-   ##
==========================================
+ Coverage   91.56%   91.56%   +<.01%     
==========================================
  Files         148      148              
  Lines       48856    48861       +5     
==========================================
+ Hits        44733    44738       +5     
  Misses       4123     4123
Flag Coverage Δ
#multiple 89.93% <100%> (ø) ⬆️
#single 41.69% <40%> (-0.01%) ⬇️
Impacted Files Coverage Δ
pandas/core/indexes/range.py 95.7% <100%> (+0.03%) ⬆️
pandas/core/indexes/base.py 96.46% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4ebdc50...c3e0267. Read the comment docs.

@@ -423,6 +423,9 @@ Conversion
- Bug in :class:`WeekOfMonth` and :class:`LastWeekOfMonth` where default keyword arguments for constructor raised ``ValueError`` (:issue:`19142`)
- Bug in localization of a naive, datetime string in a ``Series`` constructor with a ``datetime64[ns, tz]`` dtype (:issue:`174151`)
- :func:`Timestamp.replace` will now handle Daylight Savings transitions gracefully (:issue:`18319`)
- Bug in :class:`Index` multiplication and division methods where operating with a ``Series`` would return an ``Index`` object instead of a ``Series`` object (:issue:`19042`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in another PR, pls separate out all of the ops changes into a separate sub-section of Bug Fixes (as I think we have a lot), call it Operations

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. All 4 current entries in the Numeric subsection could plausibly belong in Operations. Move them or leave them be?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also a) also move comparison method changes or just arithmetic methods and b) also move offset arithmetic, or just Series/Index?

@jreback jreback merged commit 6a6bb40 into pandas-dev:master Jan 16, 2018
@jreback
Copy link
Contributor

jreback commented Jan 16, 2018

thanks!

@jbrockmendel jbrockmendel deleted the index_muldiv branch January 17, 2018 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indexing Related to indexing on series/frames, not to indexes themselves Numeric Operations Arithmetic, Comparison, and Logical operations Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Index * Series returns Index Index * Series returns Index
2 participants