[Pandas] 데이터 살펴보기 / head,tail,info,describe,shape,count,value_counts
데이터 살펴보기¶ head(n) : 처음 n개의 행을 보여줌 / tail(n) : 마지막 n개의 행을 보여줌¶ In [1]: import pandas as pd df = pd.read_csv('C:\\Users\\rladl\\Jupyter.study\\05000266\\part3\\auto-mpg.csv', header=None) df.columns = ['mpg','cylinders','displacement','horsepower','weight','acceleration','model year','origin','name'] print(df.head()) print('\n') print(df.tail()) mpg cylinders displacement horsepower weight acceler..