Pandas1 [AICE] Pandas 이해 및 활용 import pandas DataFrame명 = pd.read_csv(파라미터) 파라미터 ① filepath or buffer ② sep or delimiter (초기값은 ,(comma) ③ encoding (utf8, cp949...) shape columns info describe dtype 데이터를 가져오는 두 가지 방법 loc (location): 행 이름/라벨 iloc (integer location): 행 번호 pandas는 대소문자 구별 DataFrame pivot : pandas.pivot(index, columns, values) df.pivot(index="a", columns='b', values='c') a,b,c는 다 col이었음 pivot_table : pandas.pivot_.. 2023. 9. 13. 이전 1 다음