Skip to content

Commit

Permalink
document bug
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar committed Sep 13, 2023
1 parent 2511f8c commit 681f122
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/cudf/cudf/tests/test_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -2303,7 +2303,9 @@ def test_series_round_builtin(data, digits):
ps = pd.Series(data)
gs = cudf.from_pandas(ps, nan_as_null=False)

# round(Series) seems buggy.
# TODO: Remove `to_frame` workaround
# after following issue is fixed:
# https://github.com/pandas-dev/pandas/issues/55114
expected = round(ps.to_frame(), digits)[0]
expected.name = None
actual = round(gs, digits)
Expand Down

0 comments on commit 681f122

Please sign in to comment.