Create a Stacked Bar Chart
Завдання
Swipe to start coding
You are given the same dataframe data
. Your tasks are:
-
Save data for
'MADURAI'
in themadurai
variable. -
Call
.bar()
function twice:- the first time to build bars for the
new_delhi
data (the'Month'
column on the x-axis and the'Rainfall'
column on the y-axis); - the second time to build bars for the
madurai
data above built ones (the same columns and order as for thenew_delhi
data).
Use
'New Delhi'
and'Madurai'
as thelabel
parameters. - the first time to build bars for the
-
Display the legend of the plot.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 4
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Awesome!
Completion rate improved to 2.94
Create a Stacked Bar Chart
Свайпніть щоб показати меню
Завдання
Swipe to start coding
You are given the same dataframe data
. Your tasks are:
-
Save data for
'MADURAI'
in themadurai
variable. -
Call
.bar()
function twice:- the first time to build bars for the
new_delhi
data (the'Month'
column on the x-axis and the'Rainfall'
column on the y-axis); - the second time to build bars for the
madurai
data above built ones (the same columns and order as for thenew_delhi
data).
Use
'New Delhi'
and'Madurai'
as thelabel
parameters. - the first time to build bars for the
-
Display the legend of the plot.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Awesome!
Completion rate improved to 2.94Секція 2. Розділ 4
single