In [1]:
# importing the pandas
import pandas as pd
In [7]:
# reading the data as dataframe
# You can download the data file from here - http://bit.ly/2wuV26k
# and put into directory name 'dataset'
df = pd.read_csv('dataset/titanic.txt', delimiter='|')
In [8]:
df.head(4)
Out[8]:
In [ ]: