Код: Выделить всё
bins = [x for x in range(-10, 11)]
df['val'].plot(kind='hist', bins=bins)
Подробнее здесь: https://stackoverflow.com/questions/787 ... ndary-bins
Код: Выделить всё
bins = [x for x in range(-10, 11)]
df['val'].plot(kind='hist', bins=bins)