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

Remove deprecated code #10124

Merged
merged 23 commits into from
Jan 28, 2022
Merged

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Jan 25, 2022

This PR removes a large number of deprecated code paths in cuDF. This PR resolves #9465 and partially addresses #9828 (this PR does not address any mask-related API deprecations other than the removal of the already deprecated Series.set_mask).

@vyasr vyasr added 3 - Ready for Review Ready for review by team code quality improvement Improvement / enhancement to an existing function breaking Breaking change labels Jan 25, 2022
@vyasr vyasr added this to the CuDF Python Refactoring milestone Jan 25, 2022
@vyasr vyasr self-assigned this Jan 25, 2022
@vyasr vyasr requested a review from a team as a code owner January 25, 2022 20:21
@vyasr vyasr requested review from cwharris and shwina January 25, 2022 20:21
@github-actions github-actions bot added the Python Affects Python cuDF API. label Jan 25, 2022
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.

Very nice! I have a few comments/questions.

python/cudf/cudf/core/column/categorical.py Outdated Show resolved Hide resolved
python/cudf/cudf/core/column/datetime.py Outdated Show resolved Hide resolved
python/cudf/cudf/core/column/timedelta.py Outdated Show resolved Hide resolved
python/cudf/cudf/testing/_utils.py Show resolved Hide resolved
@beckernick
Copy link
Member

+34, -471 is beautiful

@vyasr
Copy link
Contributor Author

vyasr commented Jan 25, 2022

+34, -471 is beautiful

Now +99, -687 :)

@vyasr vyasr requested a review from bdice January 26, 2022 00:58
@vyasr vyasr requested a review from a team as a code owner January 26, 2022 01:32
@codecov
Copy link

codecov bot commented Jan 26, 2022

Codecov Report

Merging #10124 (7bff7a1) into branch-22.04 (e24fa8f) will increase coverage by 0.07%.
The diff coverage is n/a.

❗ Current head 7bff7a1 differs from pull request most recent head c01d0f2. Consider uploading reports for the commit c01d0f2 to get more accurate results
Impacted file tree graph

@@               Coverage Diff                @@
##           branch-22.04   #10124      +/-   ##
================================================
+ Coverage         10.37%   10.45%   +0.07%     
================================================
  Files               119      119              
  Lines             20149    20076      -73     
================================================
+ Hits               2091     2099       +8     
+ Misses            18058    17977      -81     
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/orc.py 0.00% <0.00%> (ø)
python/cudf/cudf/__init__.py 0.00% <0.00%> (ø)
python/cudf/cudf/api/types.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/frame.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/index.py 0.00% <0.00%> (ø)
python/cudf/cudf/io/parquet.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/dtypes.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/scalar.py 0.00% <0.00%> (ø)
... and 32 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 baff5cf...c01d0f2. Read the comment docs.

@vyasr vyasr requested a review from bdice January 27, 2022 19:06
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 work. I'll follow up on this in #10034 to use the new set_random_null_mask_inplace(sr) helper function in all tests (unless you're planning to do that in this PR - either way is fine). I think this PR is complete in its intended scope so I approve.

@shwina
Copy link
Contributor

shwina commented Jan 28, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit b7aa47f into rapidsai:branch-22.04 Jan 28, 2022
@bdice
Copy link
Contributor

bdice commented Jan 28, 2022

I'll pick up #10034 today now that this is merged. Thanks again @vyasr!

rapids-bot bot pushed a commit to rapidsai/cuspatial that referenced this pull request Jan 28, 2022
rapids-bot bot pushed a commit that referenced this pull request Feb 2, 2022
This PR cleans up some remaining places where `to_array` needs to be removed. Actual cleanup was done in: #10124

Authors:
  - GALI PREM SAGAR (https://github.com/galipremsagar)

Approvers:
  - Bradley Dice (https://github.com/bdice)

URL: #10189
bdice added a commit to bdice/cudf that referenced this pull request Feb 28, 2022
rapids-bot bot pushed a commit that referenced this pull request Feb 28, 2022
PR #10124 removed several deprecated methods. This PR also removes their documentation. cc: @vyasr

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Ashwin Srinath (https://github.com/shwina)

URL: #10366
@vyasr vyasr deleted the deprecations/remove branch March 9, 2022 17:22
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 breaking Breaking change improvement Improvement / enhancement to an existing function Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DEPRECATION] Remove support for boolean masks in take
4 participants