text_plain_output_1.png
import matplotlib.pyplot as plt

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

import seaborn as sns

df = pd.read_csv('../input/students-performance-in-exams/StudentsPerformance.csv')

df.rename(columns={'race/ethnicity': 'race', 'parental level of education': 'p_education', 'test preparation course': 'pre', 'math score': 'math', 'reading score': 'reading', 'writing score': 'writing'}, inplace=True)

for items in df.columns[-3:]:
    sns.barplot(x=df['race'], y=df[items])
    plt.show()