text_html_output_1.png
import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

df = pd.read_csv('../input/market_data_02.csv')
df.columns

fig, ax = plt.subplots(figsize=(16, 7))
df['descricao'].value_counts().sort_values(ascending=False).head(20).plot.bar(width=0.5, edgecolor='k', align='center', linewidth=1)
plt.xlabel('Product Item', fontsize=20)
plt.ylabel('Number of transactions', fontsize=17)
ax.tick_params(labelsize=20)
plt.title('20 Most Sold Items', fontsize=20)
plt.grid()
plt.ioff()