text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

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

df.count()

plt.hist(df[df['gender'] == 'male']['math score'], label='male')
plt.legend()
plt.show()