pandas 读取泰坦尼克号数据,报错
%matplotlib inline import numpy as np import pandas as pd import re as re train = pd.read_csv('D:/titanic/train1.csv', header = 0, dtype={'Age': np.float64}) test = pd.read_csv('D:/titanic/test.csv' , header = 0, dtype={'Age': np.float64}) full_data = [train, test] train
后来发现是数据有问题,重新下载数据,然后问题解决。
但这个问题也需要搞清楚