train = pd.read_csv('D:\\data\\titanic\\train.csv') print(train.columns.values) # ['PassengerId' 'Survived' 'Pclass' 'Name' 'Sex' 'Age' 'SibSp' 'Parch' # 'Ticket' 'Fare' 'Cabin' 'Embarked']
浙公网安备 33010602006230号
浙ICP备14015892号