Create a Stacked Bar Chart
Swipe to start coding
You are given the same dataframe data. Your tasks are:
-
Save data for
'MADURAI'in themaduraivariable. -
Call
.bar()function twice:- the first time to build bars for the
new_delhidata (the'Month'column on the x-axis and the'Rainfall'column on the y-axis); - the second time to build bars for the
maduraidata above built ones (the same columns and order as for thenew_delhidata).
Use
'New Delhi'and'Madurai'as thelabelparameters. - the first time to build bars for the
-
Display the legend of the plot.
Solução
Obrigado pelo seu feedback!
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Resumir este capítulo
Explicar o código em file
Explicar por que file não resolve a tarefa
Awesome!
Completion rate improved to 2.94
Create a Stacked Bar Chart
Deslize para mostrar o menu
Swipe to start coding
You are given the same dataframe data. Your tasks are:
-
Save data for
'MADURAI'in themaduraivariable. -
Call
.bar()function twice:- the first time to build bars for the
new_delhidata (the'Month'column on the x-axis and the'Rainfall'column on the y-axis); - the second time to build bars for the
maduraidata above built ones (the same columns and order as for thenew_delhidata).
Use
'New Delhi'and'Madurai'as thelabelparameters. - the first time to build bars for the
-
Display the legend of the plot.
Solução
Obrigado pelo seu feedback!
single