Scatch note
Tag – pandas
2 posts tagged with "pandas" (See all tags)

Datascience 패키지 메서드 사용법 정리

2021-09-202 Min Read — In howto

Pandas DataFrame.select_dtypes() dtype이 맞는 컬럼만 골라낸다. p.s 아래와 같이 구현할수도 있다. read_csv() csv파일을 Pandas.DataFrame으로 읽어들인다. index_col : index로 사용할 컬럼을 지정한다 DataFrame.copy 기존 데이터프레임을 새로 만들어 반환한다. Series.unique 컬럼의 유니크 요소 반환 결과 DataFrame.nunique, Series…

Pandas 기초 사용법

2021-05-151 Min Read — In howto

공통코드 loc: label이나 쿼리를 통해 선택하는 방법 label orientied : inclusive of end Location iloc: 행번호로 선택하는 방법 position oriented : exclusive of end Index location