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 Table class #9315

Merged
merged 8 commits into from
Oct 4, 2021
Merged

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Sep 27, 2021

This PR moves the remaining logic from the Table class into the Frame class and removes the Table class entirely. In the long term we should move away from passing Frame objects into Cython functions since we should instead be able to make do with an iterable of columns, but changing the calling convention for our Cython APIs is left for future PRs. Once this one is merged, we can modify individual Cython APIs without having to touch any of the others.

@vyasr vyasr added 3 - Ready for Review Ready for review by team code quality Python Affects Python cuDF API. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Sep 27, 2021
@vyasr vyasr added this to the CuDF Python Refactoring milestone Sep 27, 2021
@vyasr vyasr self-assigned this Sep 27, 2021
@vyasr vyasr requested a review from a team as a code owner September 27, 2021 17:27
@vyasr vyasr force-pushed the refactor/remove_table branch from 678a53e to 4989279 Compare September 27, 2021 18:30
@vyasr
Copy link
Contributor Author

vyasr commented Sep 30, 2021

rerun tests

1 similar comment
@vyasr
Copy link
Contributor Author

vyasr commented Sep 30, 2021

rerun tests

Copy link
Contributor

@isVoid isVoid left a comment

Choose a reason for hiding this comment

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

Another step to a cleaner architecture. Looks great.

python/cudf/cudf/_lib/copying.pyx Show resolved Hide resolved
python/cudf/cudf/_lib/utils.pyx Show resolved Hide resolved
python/cudf/cudf/_lib/copying.pyx Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Oct 1, 2021

Codecov Report

Merging #9315 (539371b) into branch-21.12 (ab4bfaa) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

Impacted file tree graph

@@               Coverage Diff                @@
##           branch-21.12    #9315      +/-   ##
================================================
- Coverage         10.79%   10.76%   -0.03%     
================================================
  Files               116      116              
  Lines             18869    19419     +550     
================================================
+ Hits               2036     2090      +54     
- Misses            16833    17329     +496     
Impacted Files Coverage Δ
python/cudf/cudf/_lib/__init__.py 0.00% <ø> (ø)
python/cudf/cudf/core/_base_index.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/column/column.py 0.00% <ø> (ø)
python/cudf/cudf/core/column/lists.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/dataframe.py 0.00% <ø> (ø)
python/cudf/cudf/core/frame.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/groupby/groupby.py 0.00% <0.00%> (ø)
python/cudf/cudf/core/index.py 0.00% <ø> (ø)
python/cudf/cudf/core/multiindex.py 0.00% <ø> (ø)
python/cudf/cudf/core/series.py 0.00% <ø> (ø)
... and 60 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 908c130...539371b. Read the comment docs.

@isVoid
Copy link
Contributor

isVoid commented Oct 4, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 8bd7d68 into rapidsai:branch-21.12 Oct 4, 2021
rapids-bot bot pushed a commit to rapidsai/cuspatial that referenced this pull request Oct 6, 2021
This PR updates cuspatial to match the changes in rapidsai/cudf#9315.

Authors:
  - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
  - Paul Taylor (https://github.com/trxcllnt)

URL: #455
@vyasr vyasr deleted the refactor/remove_table branch January 14, 2022 18:00
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.

3 participants