Category: IT/개발

[Kaggle] Titanic 데이터 분석

[Kaggle] Titanic 데이터 분석 import pandas as pd train = pd.read_csv(‘input/train.csv’) test = pd.read_csv(‘input/test.csv’) print(“=============train==============”) print(train.head()) print(“=============test==============”) print(test.head()) print(train.shape) #891개 데이터, 12개 컬럼 print(test.shape) #418개 데이터, 12개 컬럼 print(train.info()) #데이터...