Tag: how to find the rank of an array in python