Train.csv cannot convert string to float - Titanic: Machine Learning from Disaster

#artificialintelligence 

I am running on Jupyter Notebooks with a Mac and Python 2.7. I can get the data imported and can even "print data", the following comes through. It looks like I'm picking up the first row which is unlike the tutorial. ValueError Traceback (most recent call last) in () ---- 1 number_passengers np.size(data[0::,1].astype(np.float)) The next code seems to be where it turns into a problem because I'm trying to convert the headers into a float.