You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing a choice() on col_max == col_max.max() returns a True or False and not the index of the wanted column.
I replaced it with:
col_sel = rng.choice(np.where(col_max == col_max.max())[0])