Skip to content

Commit

Permalink
Fix rename bug
Browse files Browse the repository at this point in the history
  • Loading branch information
luisboitas committed Sep 15, 2022
1 parent f637dd6 commit 0456c68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion optimus/engines/base/basedataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from optimus.helpers.functions import df_dicts_equal, absolute_path, reduce_mem_usage
from optimus.helpers.json import json_converter
from optimus.helpers.output import print_html
from optimus.infer import is_list_or_tuple
from optimus.outliers.outliers import Outliers
from optimus.plots.functions import plot_hist, plot_frequency
from optimus.plots.plots import Plot
Expand Down Expand Up @@ -568,7 +569,7 @@ def _cols_to_profile(self, columns):
action_name = action.get("name", "action")
column = action.get("columns", None)

if is_tuple(column):
if is_list_or_tuple(column):
source, target = column

else:
Expand Down

0 comments on commit 0456c68

Please sign in to comment.