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

Some consolidation of indexed frame methods #10167

Merged

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Jan 28, 2022

This PR contributes to #9038, merging implementations of memory_usage and iter. It also removes an unnecessary override of take (saves about 25% of runtime for data <1M rows) and deprecates Series.merge, which doesn't exist in pandas.

@vyasr vyasr added 3 - Ready for Review Ready for review by team Python Affects Python cuDF API. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change deprecation labels Jan 28, 2022
@vyasr vyasr added this to the CuDF Python Refactoring milestone Jan 28, 2022
@vyasr vyasr self-assigned this Jan 28, 2022
@vyasr vyasr requested a review from a team as a code owner January 28, 2022 23:36
@codecov
Copy link

codecov bot commented Jan 29, 2022

Codecov Report

Merging #10167 (a8a5bc4) into branch-22.04 (e24fa8f) will increase coverage by 0.11%.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff                @@
##           branch-22.04   #10167      +/-   ##
================================================
+ Coverage         10.37%   10.49%   +0.11%     
================================================
  Files               119      122       +3     
  Lines             20149    20474     +325     
================================================
+ Hits               2091     2148      +57     
- Misses            18058    18326     +268     
Impacted Files Coverage Δ
python/cudf/cudf/errors.py 0.00% <0.00%> (ø)
python/cudf/cudf/io/csv.py 0.00% <0.00%> (ø)
python/cudf/cudf/io/hdf.py 0.00% <0.00%> (ø)
python/cudf/cudf/io/orc.py 0.00% <0.00%> (ø)
python/cudf/cudf/__init__.py 0.00% <0.00%> (ø)
python/cudf/cudf/_version.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/abc.py 0.00% <0.00%> (ø)
python/cudf/cudf/api/types.py 0.00% <0.00%> (ø)
python/cudf/cudf/io/dlpack.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/frame.py 0.00% <0.00%> (ø)
... and 66 more

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 b7aa47f...a8a5bc4. Read the comment docs.

Copy link
Contributor

@bdice bdice left a comment

Choose a reason for hiding this comment

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

Nice! All looks good to me.

@vyasr
Copy link
Contributor Author

vyasr commented Feb 4, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 1754731 into rapidsai:branch-22.04 Feb 4, 2022
@vyasr vyasr deleted the refactor/indexed_frame_consolidation branch February 4, 2022 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants