I have a set of coordinates in the below data structure.
How do I find the indices for the K minimal X value points?
e.g. for the below data with k=3, the output should be something like [5,4,3]
array([[[463, 445]],
[[461, 447]],
[[461, 448]],
[[ 42, 2]],
[[ 41, 1]],
[[ 40, 100]]], dtype=int32)