From 5275f6934d7c61e001e521c8cec8fa81d28738a3 Mon Sep 17 00:00:00 2001 From: Argenis Leon Date: Fri, 13 Dec 2019 13:25:13 -0600 Subject: [PATCH] Fix bound param handling --- optimus/dataframe/rows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optimus/dataframe/rows.py b/optimus/dataframe/rows.py index 08a34160..06f0587e 100644 --- a/optimus/dataframe/rows.py +++ b/optimus/dataframe/rows.py @@ -186,7 +186,7 @@ def between(columns, lower_bound=None, upper_bound=None, invert=False, equal=Fal # TODO: should process string or dates columns = parse_columns(self, columns, filter_by_column_dtypes=PYSPARK_NUMERIC_TYPES) if bounds is None: - bounds = (lower_bound, upper_bound) + bounds = [(lower_bound, upper_bound)] def _between(_col_name):