I am translating from R studio to Python and I have a doubt, in R I am using which
what what it does is give the indexes TRUE
of a logical object, allowing the indexes of the array. For example, if I have a vector v=(0,5,6,7,81,4,8,2,4,1,3)
and I put which(v>=6)
and returns this result 3 4 5 7
returns the positions greater than 6,
How would this be done in Python?