Skip to content

Commit

Permalink
Uncomment ascending enforcement
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbluca committed Dec 1, 2021
1 parent a87a6a5 commit 951c3dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/dask_cudf/dask_cudf/sorting.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ def sort_values(
na_position="last",
):
"""Sort by the given list/tuple of column names."""
# if not isinstance(ascending, bool):
# raise ValueError("ascending must be either True or False")
if not isinstance(ascending, bool):
raise ValueError("ascending must be either True or False")
if na_position not in ("first", "last"):
raise ValueError("na_position must be either 'first' or 'last'")

Expand Down

0 comments on commit 951c3dc

Please sign in to comment.