20230128_Importing and Cleaning with Python_TEST

eenimeeniminim0·2023년 1월 28일
0

Datacamp

목록 보기
15/16

오답정리

  • 맥북 이슈로 답을 입력하지 못했던것 같은데...
  • 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를 사용해야 함
profile
데이터와 사회과학 사이를 여행하는 히치하이커를 위한 안내서

0개의 댓글