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

Create SeriesGroupBy wrapper to default to pandas and return to Modin #908

Merged
merged 3 commits into from
Dec 17, 2019

Conversation

devin-petersohn
Copy link
Collaborator

@devin-petersohn devin-petersohn commented Dec 13, 2019

  • Resolves groupby() with concat() result columns can't be added #878
  • Create a SeriesGroupBy object that intercepts every call to the
    SeriesGroupBy object, applies it to the pandas object, then
    re-distributes the object if it is a pandas.Series or a
    pandas.DataFrame. This is a temporary measure until we can implement
    a SeriesGroupBy object with all of the methods.
  • This issue originally surfaced with issues handling interactions
    between pandas and modin Series objects.
  • A further pass is required to remove other cases where Modin can
    return a pandas object.

What do these changes do?

Related issue number

  • passes flake8 modin
  • passes black --check modin
  • tests added and passing

* Resolves modin-project#878
* Create a `SeriesGroupBy` object that intercepts every call to the
  `SeriesGroupBy` object, applies it to the pandas object, then
  re-distributes the object if it is a `pandas.Series` or a
  `pandas.DataFrame`. This is a temporary measure until we can implement
  a `SeriesGroupBy` object with all of the methods.
* This issue originally surfaced with issues handling interactions
  between pandas and modin Series objects.
* A further pass is required to remove other cases where Modin can
  return a pandas object.
@codecov
Copy link

codecov bot commented Dec 13, 2019

Codecov Report

Merging #908 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #908      +/-   ##
==========================================
+ Coverage   87.72%   87.74%   +0.01%     
==========================================
  Files          54       54              
  Lines        5742     5743       +1     
==========================================
+ Hits         5037     5039       +2     
+ Misses        705      704       -1
Impacted Files Coverage Δ
modin/pandas/groupby.py 89.08% <100%> (ø) ⬆️
modin/pandas/series.py 93.89% <100%> (+0.14%) ⬆️

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 1c40056...9059264. Read the comment docs.

@devin-petersohn devin-petersohn added this to the 0.6.4 milestone Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

groupby() with concat() result columns can't be added
1 participant