Skip to content

Commit

Permalink
adding corr. func in python
Browse files Browse the repository at this point in the history
  • Loading branch information
skirui-source committed Sep 2, 2021
1 parent ba6e50a commit b198a51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/cudf/cudf/_lib/cpp/aggregation.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@ cdef extern from "cudf/aggregation.hpp" namespace "cudf" nogil:
udf_type type,
string user_defined_aggregator,
data_type output_type) except +

cdef unique_ptr[T] make_correlation_aggregation[T]() except +
4 changes: 4 additions & 0 deletions python/cudf/cudf/core/groupby/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,10 @@ def _mimic_pandas_order(
result.index = self.obj.index
return result

def correlation(self):
"""
"""


class DataFrameGroupBy(GroupBy, GetAttrGetItemMixin):
"""
Expand Down

0 comments on commit b198a51

Please sign in to comment.