October 2018
Beginner to intermediate
676 pages
18h 30m
English
We will plot two figures in this recipe. The first figure has four plots in it and the second one has one plot:
g = sns.relplot(x='Period', y='Sales', data=long_sales, kind='line', hue='Item', row='weekend', col='Promotion')
# one line for each of Itemslong_sales['Day'] = pd.DatetimeIndex(long_sales['Date']).daysns.relplot(x='Day', y='Sales', hue='Promotion', data=long_sales.query("weekend ...Read now
Unlock full access