Skip to content

Commit

Permalink
minor code-review change
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzamora committed Oct 27, 2022
1 parent 27f47ef commit fe9dc78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/cudf/cudf/_lib/cpp/quantiles.pxd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2022, NVIDIA CORPORATION.
# Copyright (c) 2020, NVIDIA CORPORATION.

from libcpp cimport bool
from libcpp.memory cimport unique_ptr
Expand Down
2 changes: 1 addition & 1 deletion python/cudf/cudf/core/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -5335,7 +5335,7 @@ def quantile(

if q_is_number and numeric_only:
result = result.fillna(np.nan).iloc[0]
result.index = data_df._data.to_pandas_index()
result.index = data_df.keys()
result.name = q
return result

Expand Down

0 comments on commit fe9dc78

Please sign in to comment.