text_html_output_1.png
import numpy as np # linear algebra

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

df = pd.read_csv('../input/epi_r.csv')

sorted(list(df.columns))

df.pivot_table(index=['rating'], columns=['fat'], aggfunc=np.mean)