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

[WIP] Array refactor #8273

Closed
wants to merge 20 commits into from
Closed

Conversation

shwina
Copy link
Contributor

@shwina shwina commented May 18, 2021

No description provided.

@github-actions github-actions bot added the Python Affects Python cuDF API. label May 25, 2021
rapids-bot bot pushed a commit that referenced this pull request May 26, 2021
…#8278)

Adds a common parent class for NumericalColumn and DecimalColumn that implements the common operations (mainly reductions and scans). As part of enabling this, the _copy_type_metadata method was refactored to have different column types override it to perform column-specific tasks (necessary because DecimalColumn has some special handling), which should also provide some marginal performance improvements for methods that copy metadata.

This PR (and some to follow) are designed to help simplify the ongoing [Array refactoring](#8273).

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

Approvers:
  - Keith Kraus (https://github.com/kkraus14)
  - GALI PREM SAGAR (https://github.com/galipremsagar)

URL: #8278
rapids-bot bot pushed a commit that referenced this pull request Jul 15, 2021
… and require `parent` argument (#8306)

Prior to this PR, ColumnMethods takes a `column` argument as well as an optional `parent` argument.

- When passed only a `column` argument, its methods return Columns. We have made use of this internally to do certain operations on Columns.

- When passed a `parent` argument, its methods return objects of the type of the `parent`. This enables us to use the same class to implement accessor methods for both Series and Index.

This PR makes it so that we only accept (and now require) a `parent` argument, simplifying the class and its usage. All instances of `ColumnMethods` being used internally have been replaced.


Part of the [Array refactor](#8273).

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

Approvers:
  - https://github.com/brandon-b-miller
  - Michael Wang (https://github.com/isVoid)

URL: #8306
@shwina
Copy link
Contributor Author

shwina commented Aug 25, 2021

Closing as this effort is currently on hold

@shwina shwina closed this Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant