# 5/1/2020
# Import median function from numpy
import numpy as np
from numpy import median

# Plot the median number of absences instead of the mean
sns.catplot(x="romantic", y="absences",
			data=student_data,
            kind="point",
            hue="school",
            ci=None,
            estimator = median)

# Show plot
plt.show()