Skip to content

Commit

Permalink
Fix DataFrame.reindex. Resolves rapidsai#9827.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Dec 3, 2021
1 parent c17b067 commit 699c21a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/cudf/cudf/core/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2287,11 +2287,11 @@ def reindex(
3 3 13.0
4 4 14.0
>>> df_new
key val sum
0 0 10.0 NaN
3 3 13.0 NaN
4 4 14.0 NaN
5 -1 NaN NaN
key val sum
0 0 10.0 <NA>
3 3 13.0 <NA>
4 4 14.0 <NA>
5 <NA> <NA> <NA>
"""

if labels is None and index is None and columns is None:
Expand Down

0 comments on commit 699c21a

Please sign in to comment.