From 951c3dc93750a9f6a18d42408476155190199e7b Mon Sep 17 00:00:00 2001 From: Charles Blackmon-Luca <20627856+charlesbluca@users.noreply.github.com> Date: Wed, 1 Dec 2021 13:15:50 -0500 Subject: [PATCH] Uncomment ascending enforcement --- python/dask_cudf/dask_cudf/sorting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/dask_cudf/dask_cudf/sorting.py b/python/dask_cudf/dask_cudf/sorting.py index 9763383bb3f..e8551493bb1 100644 --- a/python/dask_cudf/dask_cudf/sorting.py +++ b/python/dask_cudf/dask_cudf/sorting.py @@ -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'")