December 2018
Beginner to intermediate
682 pages
18h 1m
English
>>> employee = pd.read_csv('data/employee.csv')
>>> employee.DEPARTMENT.value_counts().head()Houston Police Department-HPD 638 Houston Fire Department (HFD) 384 Public Works & Engineering-PWE 343 Health & Human Services 110 Houston Airport System (HAS) 106 Name: DEPARTMENT, dtype: int64>>> employee.GENDER.value_counts() Male 1397 Female 603>>> employee.BASE_SALARY.describe().astype(int)count 1886 mean 55767 std 21693 min 24960 25% 40170 50% 54461 75% 66614 max 275000 Name: BASE_SALARY, dtype: int64