Skip to content

Commit

Permalink
fix(eda): fix insights of plot_correlation
Browse files Browse the repository at this point in the history
  • Loading branch information
Waterpine committed Apr 21, 2021
1 parent 1e4659b commit f0ca5f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataprep/eda/correlation/compute/overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def least_corr(corrs: np.ndarray) -> Tuple[float, List[Any]]:
for i in range(corrs_copy.shape[0]):
corrs_copy[i, i] = 2
minimum = abs(corrs_copy).min()
col1, col2 = np.where(corrs_copy == minimum)
col1, col2 = np.where(abs(corrs_copy) == minimum)

for i, _ in enumerate(col1):
if col1[i] < col2[i]:
Expand Down

0 comments on commit f0ca5f4

Please sign in to comment.