Skip to content

Commit

Permalink
fix(linting): code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
azory-ydata authored and fabclmnt committed Jul 13, 2024
1 parent 1c94d33 commit 9c85bc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ydata_profiling/model/pandas/correlations_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ def pandas_auto_compute(

method = (
_pairwise_spearman
if any(elem in categorical_columns for elem in [col_1_name, col_2_name]) is False
if any(elem in categorical_columns for elem in [col_1_name, col_2_name])
is False
else _pairwise_cramers
)

Expand Down

0 comments on commit 9c85bc7

Please sign in to comment.