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

Rewrite cudf internals using pylibcudf groupby #14946

Merged
merged 13 commits into from
Feb 5, 2024
9 changes: 3 additions & 6 deletions python/cudf/cudf/_lib/aggregation.pxd
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright (c) 2020-2022, NVIDIA CORPORATION.
# Copyright (c) 2020-2024, NVIDIA CORPORATION.

from libcpp.memory cimport unique_ptr

from cudf._lib cimport pylibcudf
from cudf._lib.cpp.aggregation cimport (
groupby_aggregation,
groupby_scan_aggregation,
Expand All @@ -15,10 +16,7 @@ cdef class RollingAggregation:
cdef unique_ptr[rolling_aggregation] c_obj

cdef class GroupbyAggregation:
cdef unique_ptr[groupby_aggregation] c_obj

cdef class GroupbyScanAggregation:
cdef unique_ptr[groupby_scan_aggregation] c_obj
cdef pylibcudf.aggregation.Aggregation c_obj

cdef class ReduceAggregation:
cdef unique_ptr[reduce_aggregation] c_obj
Expand All @@ -28,6 +26,5 @@ cdef class ScanAggregation:

cdef RollingAggregation make_rolling_aggregation(op, kwargs=*)
cdef GroupbyAggregation make_groupby_aggregation(op, kwargs=*)
cdef GroupbyScanAggregation make_groupby_scan_aggregation(op, kwargs=*)
cdef ReduceAggregation make_reduce_aggregation(op, kwargs=*)
cdef ScanAggregation make_scan_aggregation(op, kwargs=*)
Loading
Loading