text_html_output_1.png
import matplotlib.pyplot as plt

import pandas as pd

types_dict_train = {'train_id': 'int64', 'item_condition_id': 'int8', 'price': 'float64', 'shipping': 'int8'}
train_df = pd.read_csv('../input/train.tsv', delimiter='\t', low_memory=True, dtype=types_dict_train)
types_dict_test = {'test_id': 'int64', 'item_condition_id': 'int8', 'shipping': 'int8'}
test_df = pd.read_csv('../input/test.tsv', delimiter='\t', low_memory=True, dtype=types_dict_test)

train_df = train_df.rename(columns={'train_id': 'id'})

plt.figure(figsize=(20, 15))
plt.hist(train_df['price'], bins=50, range=[0, 300], label='price')
plt.xlabel('Price')
plt.ylabel('Sample')
plt.title('Sale Price Distribution')
plt.show()