반응형
Titanic
-
Kaggle_Titanic머신러닝(MACHINE LEARNING) 2021. 4. 9. 00:44
import pandas as pd import numpy as np import matplotlib.pyplot as plt test_df = pd.read_csv("./test.csv") train_df = pd.read_csv("./train.csv") train_df.head() PassengerId Survived Pclass Name Sex Age SibSp Parch Ticket Fare Cabin Embarked 0 1 0 3 Braund, Mr. Owen Harris male 22.0 1 0 A/5 21171 7.2500 NaN S 1 2 1 1 Cumings, Mrs. John Bradley (Florence Briggs Th... female 38.0 1 0 PC 17599 71.28..