Returns the values of a cython operation.
(
self,
kind: str,
values,
how: str,
axis: AxisInt,
min_count: int = -1,
**kwargs,
)
| 945 | |
| 946 | @final |
| 947 | def _cython_operation( |
| 948 | self, |
| 949 | kind: str, |
| 950 | values, |
| 951 | how: str, |
| 952 | axis: AxisInt, |
| 953 | min_count: int = -1, |
| 954 | **kwargs, |
| 955 | ) -> ArrayLike: |
| 956 | """ |
| 957 | Returns the values of a cython operation. |
| 958 | """ |
| 959 | assert kind in ["transform", "aggregate"] |
| 960 | |
| 961 | cy_op = WrappedCythonOp(kind=kind, how=how, has_dropped_na=self.has_dropped_na) |
| 962 | |
| 963 | return cy_op.cython_operation( |
| 964 | values=values, |
| 965 | axis=axis, |
| 966 | min_count=min_count, |
| 967 | comp_ids=self.ids, |
| 968 | ngroups=self.ngroups, |
| 969 | **kwargs, |
| 970 | ) |
| 971 | |
| 972 | @final |
| 973 | def agg_series( |
no test coverage detected