In [18]:
%matplotlib inline
import pandas as pd
import matplotlib.pyplot as plt
In [19]:
df = pd.read_excel('data/price-of-a-latte-around-the-world.xlsx')
pd.to_numeric(df['Latte Price in U.S. Dollars'])
df.head()
Out[19]:
In [29]:
print(plt.style.available)
plt.style.use('seaborn')
In [43]:
df.plot(kind='barh', x='City', y='Latte Price in U.S. Dollars',
title='The price of a latte around the world', fontsize=24, figsize=(20, 15))
Out[43]:
In [ ]: