pivot_table 함수에서 집계 함수 적용을 위해서는 aggfunc이라는 파라미터를 사용해야한다.
dtype 설명
default : float
Data-type of the resulting array. If this is a structured data-type, the resulting array will be 1-dimensional, and each row will be interpreted as an element of the array, In this case, the number of columns used must match the number of fields in the data-type.
dtypes
데이터 프레임의 타입은 물론 각 컬럼 별 not-null 정보를 보기위해서는 info()함수를 사용
dtyps는 데이터 프레임의 타입만을 return 하기 때문에 이 문제에서는 dtypes를 사용해야 함