From 05a748a11def2c987162e9bd72c095ff17512bb6 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Thu, 27 Oct 2022 12:40:57 -0500 Subject: [PATCH] Fix style. --- python/cudf/cudf/core/dataframe.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/python/cudf/cudf/core/dataframe.py b/python/cudf/cudf/core/dataframe.py index 12c9c8415a2..f749f0c9bfb 100644 --- a/python/cudf/cudf/core/dataframe.py +++ b/python/cudf/cudf/core/dataframe.py @@ -6431,6 +6431,7 @@ def pivot(self, index, columns, values=None): @_cudf_nvtx_annotate @copy_docstring(reshape.pivot_table) def pivot_table( + self, values=None, index=None, columns=None, @@ -6443,9 +6444,17 @@ def pivot_table( sort=True, ): return cudf.core.reshape.pivot_table( - self, values=values, index=index, columns=columns, aggfunc=aggfunc, - fill_value=fill_value, margins=margins, dropna=dropna, margins_name=margins_name, - observed=observed, sort=sort, + self, + values=values, + index=index, + columns=columns, + aggfunc=aggfunc, + fill_value=fill_value, + margins=margins, + dropna=dropna, + margins_name=margins_name, + observed=observed, + sort=sort, ) @_cudf_nvtx_annotate