-
Notifications
You must be signed in to change notification settings - Fork 907
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
[FEA] StructColumn __setitem__
and __getitem__
#8558
Labels
Milestone
Comments
shaneding
added
feature request
New feature or request
Needs Triage
Need team to review and classify
labels
Jun 18, 2021
shaneding
added
Cython
Python
Affects Python cuDF API.
and removed
Needs Triage
Need team to review and classify
labels
Jun 18, 2021
shaneding
changed the title
[FEA] StructColumn
[FEA] StructColumn Jun 21, 2021
__setitem__
__setitem__
and __getitem__
rapids-bot bot
pushed a commit
that referenced
this issue
Jun 25, 2021
Partly addresses #8558 This PR supports retrieving a `struct_scalar` from `STRUCT` type column. Authors: - Michael Wang (https://github.com/isVoid) Approvers: - Robert Maynard (https://github.com/robertmaynard) - https://github.com/nvdbaranec URL: #8578
rapids-bot bot
pushed a commit
that referenced
this issue
Jun 29, 2021
Implements necessary `__getitem__` changes for python side. Partly addresses #8558, merge after #8578 Authors: - https://github.com/shaneding Approvers: - https://github.com/brandon-b-miller - Ashwin Srinath (https://github.com/shwina) URL: #8577
rapids-bot bot
pushed a commit
that referenced
this issue
Jul 9, 2021
Allows the creation of a `struct_scalar` from python dictionary. Partly addresses #8558. Authors: - https://github.com/shaneding Approvers: - https://github.com/brandon-b-miller - Ram (Ramakrishna Prabhu) (https://github.com/rgsl888prabhu) URL: #8629
rapids-bot bot
pushed a commit
that referenced
this issue
Jul 9, 2021
Partially addresses #8558 This PR adds support for scattering struct scalars. Implementation notes: Current implementation is based on copying the row data from each field as a new scalar and recursively calls scalar scattering on each field. There maybe an optimization on eliminating such copy. But will require extra scaffolding/scatter machinery. Minor aspects of this PR: - Refactors `column_scalar_scatterer` to include `scatter_scalar_bitmask_inplace` in each level of dispatch. This is required because scalar scattering can be nested. - Adds `count_set_bit` and `count_unset_bit` detail APIs - Adds default stream/mr for `detail::get_element` Authors: - Michael Wang (https://github.com/isVoid) Approvers: - Conor Hoekstra (https://github.com/codereport) - Mike Wilson (https://github.com/hyperbolic2346) - Gera Shegalov (https://github.com/gerashegalov) URL: #8630
rapids-bot bot
pushed a commit
that referenced
this issue
Jul 15, 2021
Closes #8558 Authors: - https://github.com/shaneding Approvers: - Ashwin Srinath (https://github.com/shwina) - https://github.com/brandon-b-miller URL: #8737
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue for tracking the implementation of
__setitem__
and__getitem__
on StructColumns.cudf.Scalar({'a': 1, 'b': 2})
get_element_functor
support forstruct_view
struct_scalar
__setitem__
(python side)__getitem__
(python side)cc @brandon-b-miller @isVoid
The text was updated successfully, but these errors were encountered: