Feb-10-2020, 12:15 AM
By default
[]
(__getitem__
) operation applied by rows (when the argument is boolean array). You can use loc
,e.g.data.loc[:, (np.abs(data) > 2).any(0)]