Я пытаюсь построить график с диапазоном, но он показывает ошибку несоответствия
df = pd.read_csv('kumar.csv', parse_dates=True, index_col=0)
pivot= df.iloc[2,3] #takes a pivot number
pivot_round= round(pivot,-1) #round off to nearest value
abc= df[idx - 2:idx + 3]['strikePrice'] # select -+numbers adj to pivot
#make 5 range values in x axis and set graph
df.set_index(abc)[['openInterest','changeinOpenInterest']].plot.bar()
plt.show()
повышение ValueError (ValueError: Несоответствие длины: ожидается 71 строка, получен массив длины 5