array(['2000-01', '2000-02', '2000-03', '2000-04', '2000-05', '2000-06'],
    dtype='<U7')
df = pd.DataFrame(np.random.randn(10, 6), columns=cols)
df
Find Average of Every Three Columns in Pandas dataframe