파이널 프로젝트 오류 해결

ganadara·2023년 2월 20일
1

시행착오

목록 보기
5/8

chatgpt

오류 해결

count > 100이상인 값만 추출 시도

book.loc[book['count']>=100]

오류 내용

'>=' not supported between instances of 'str' and 'int'

오류 해결

book['count'] = book['count'].str.replace(',', '')
book100 = book[book['count'].astype(int)>100]
profile
DL 공부중

0개의 댓글