Visualize ROI
In the previous chapter, we calculated ROI daily, which will help us recognize the unprofitable day. Indeed, if we know that Monday is unprofitable, we should spend less money to attract users, for example!
It is tough to conclude without graphs, so visualize ROI!
Tarefa
Swipe to start coding
- Create
barplot
with the arguments:
df
as thedata
parameter.'day'
column for x-axis.'ROI'
column for y-axis.
- Output
barplot
Solução
Congratulations! We figured out that Monday and Thursday are the most unprofitable days. Further, it is fantastic to find out whether these two days are similar or if we are making the same mistake on Monday and Thursday. But to do it, you should continue learning courses that will help you to become a Data Analyst.
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 4. Capítulo 11