I have the following data:
import numpy as np import pandas as pd arr = np.array([0, 1, 2, 3, 4, 6, 7, 5]) x = pd.Series([0,1,2,3,4,6,7,0,1,2,3,4,6,7,0,1,2,3,4,