text_plain_output_1.png
import matplotlib

import numpy as np

import pandas as pd

all_data = pd.concat((train.loc[:, 'Pclass':'Embarked'], test.loc[:, 'Pclass':'Embarked']))

matplotlib.rcParams['figure.figsize'] = (14.0, 7.0)
prices = pd.DataFrame({'Fare': train['Fare'], 'log(Fare + 1)': np.log1p(train['Fare'])})
prices.hist()