diff --git a/optimus/dataframe/rows.py b/optimus/dataframe/rows.py index edd3d620..534902c6 100644 --- a/optimus/dataframe/rows.py +++ b/optimus/dataframe/rows.py @@ -145,7 +145,7 @@ def sort(col_sort): RaiseIt.value_error(sort_func, ["asc", "desc"]) func.append(sort_func(col_name)) - df = df.preserve_meta(self, Actions.SORT_ROW, col_name) + df = df.preserve_meta(self, Actions.SORT_ROW.value, col_name) df = df.sort(*func) return df