https://camera-optical-zoom.blogspot.com/2024/03/numpy-1d-array-find-indices-of.html
Numpy 1d Array - Find Indices Of Boundaries Of Subsequences Of The Same Number