목록Python (1)
ENN
딥러닝을 위한 Pandas 개념 정리
Pandas의 주요 구성 요소 dataframe: column과 row로 구성된 2차원 데이터셋 series : 1개의 column 값으로만 구성된 1차원 데이터셋 index : DMBS의 기본키(pk)랑 같은 개념 #기본 세팅 import pandas as pd titanic_df = pd.read_csv('titanic.csv') #파일 불러오기 head()와 tail() head()는 dataframe의 맨 앞부터 일부 데이터만 추출 titanic_df.head() tail()은 dataframe의 맨 뒤부터 일부 데이터만 추출 titanic_df.tail() #display 옵션 설정 pd.set_option('display.max_rows',100) #보이는 행의 개수 설정 pd.set_opti..
딥러닝 NLP
2022. 7. 25. 20:18