# import necessary libraries
import pandas as pd
# read data frame and view rows
df = pd.read_csv('http://bit.ly/kaggletrain', nrows=10)
print(df.head())
# select some or all features of the dataset
cols = ['Fare', 'Embarked', 'Sex', 'Age']
X = df[cols]
# view the selected columns
print(f'\nSelected Columns: \n{X}')