Skip to content

WIP: keep column levels when using apply after grouping (#16231) #16651

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

Conversation

dsm054
Copy link
Contributor

@dsm054 dsm054 commented Jun 9, 2017

This is still experimental-- the groupby logic is awfully complicated at this point, and there are lots of edge cases.

@codecov
Copy link

codecov bot commented Jun 10, 2017

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16651      +/-   ##
==========================================
+ Coverage   90.93%   90.93%   +<.01%     
==========================================
  Files         161      161              
  Lines       49265    49269       +4     
==========================================
+ Hits        44800    44804       +4     
  Misses       4465     4465
Flag Coverage Δ
#multiple 88.69% <100%> (ø) ⬆️
#single 40.22% <0%> (-0.01%) ⬇️
Impacted Files Coverage Δ
pandas/core/base.py 96.23% <100%> (+0.01%) ⬆️
pandas/core/groupby.py 92.08% <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 9fdea65...37a0195. Read the comment docs.

@codecov
Copy link

codecov bot commented Jun 10, 2017

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16651      +/-   ##
==========================================
+ Coverage   90.93%   90.93%   +<.01%     
==========================================
  Files         161      161              
  Lines       49266    49270       +4     
==========================================
+ Hits        44801    44805       +4     
  Misses       4465     4465
Flag Coverage Δ
#multiple 88.69% <100%> (ø) ⬆️
#single 40.22% <0%> (-0.01%) ⬇️
Impacted Files Coverage Δ
pandas/core/base.py 96.23% <100%> (+0.01%) ⬆️
pandas/core/groupby.py 92.08% <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 ceaf852...078a0ce. Read the comment docs.

@dsm054 dsm054 force-pushed the bugfix/keep_columns_after_apply branch from 37a0195 to 63c89b0 Compare June 10, 2017 16:35
@dsm054 dsm054 force-pushed the bugfix/keep_columns_after_apply branch from 63c89b0 to 078a0ce Compare June 10, 2017 17:26
@TomAugspurger TomAugspurger added this to the 0.21.0 milestone Jun 30, 2017
@jreback
Copy link
Contributor

jreback commented Aug 17, 2017

can you rebase (and move whatsnew to 0.21.0)

@jreback jreback removed this from the 0.21.0 milestone Aug 17, 2017
@jreback
Copy link
Contributor

jreback commented Nov 10, 2017

closing as stale. if you'd like to continue working, pls ping.

@jreback jreback closed this Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

resample.apply flattens column index when more than 3 levels
3 participants