From 32507a623ec42a660dea86c9bf48a0f12563aa45 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Thu, 21 Apr 2022 14:14:36 -0700 Subject: [PATCH] Fix missed argument order swap in replace. --- python/cudf/cudf/core/frame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/cudf/cudf/core/frame.py b/python/cudf/cudf/core/frame.py index b73786bb2bc..b4cea31057f 100644 --- a/python/cudf/cudf/core/frame.py +++ b/python/cudf/cudf/core/frame.py @@ -3657,8 +3657,8 @@ def _get_replacement_values_for_columns( col: [value] if _is_non_decimal_numeric_dtype(columns_dtype_map[col]) else full( + len(to_replace), value, - (len(to_replace),), cudf.dtype(type(value)), ) for col in columns_dtype_map