DataFrame.astype(dtype)
DataFrame.astype(dtype,
copy=None,
errors='raise')
Series.astype(dtype,
copy=None,
errors='raise')
Index.astype(dtype,
copy=True)
int, float, str, bool, datetime, categorycopy = true: 복사본을 반환함.copy = false: 복사본을 반환하지 않고 원본을 수정함.오류 발생시
errors = 'raise': 코드를 중단하고 오류 출력errors = 'ignore': 무시하고 기존의 값으로 반환