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

student_data = pd.read_csv('../input/student-mat.csv')

student_data.shape

student_data.dtypes

print(student_data[student_data.sex == 'F'].sex.count())
print(student_data[student_data.sex == 'M'].sex.count())