Average head coach salary by division


Given the following dataset, return the average salary of a men's head coaching position in NCAA Division 1, 2, and 3. You'll need to use the 'classification_name' and 'HDCOACH_SALARY_MEN' fields.

To help get you started, below is code (Python) to import the referenced dataset:

# Import libraries
%matplotlib inline
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
# Import data
df = pd.read_csv('https://raw.githubusercontent.com/erood/interviewqs.com_code_snippets/master/Datasets/EADA_2019.csv')


Access restricted

Subscribe to premium account to see the solution.

Get premium now