Create a Simple Bar Chart
Task
Swipe to start coding
You are given dataframe data
with rainfall information for Indian cities/districts. Your tasks are:
- Filter the observations from
data
so that only rainfall data for'NEW DELHI'
will remain. Save this information within thenew_delhi
variable. - Create
Axes
andFigure
objects (usefix, ax
variables). - Initialize a bar chart with
Month
column values on the x-axis andRainfall
column values on the y-axis (new_delhi
data).
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 2
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 2.94Awesome!
Completion rate improved to 2.94
Create a Simple Bar Chart
Task
Swipe to start coding
You are given dataframe data
with rainfall information for Indian cities/districts. Your tasks are:
- Filter the observations from
data
so that only rainfall data for'NEW DELHI'
will remain. Save this information within thenew_delhi
variable. - Create
Axes
andFigure
objects (usefix, ax
variables). - Initialize a bar chart with
Month
column values on the x-axis andRainfall
column values on the y-axis (new_delhi
data).
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 2
single
Awesome!
Completion rate improved to 2.94
Create a Simple Bar Chart
Swipe to show menu
Task
Swipe to start coding
You are given dataframe data
with rainfall information for Indian cities/districts. Your tasks are:
- Filter the observations from
data
so that only rainfall data for'NEW DELHI'
will remain. Save this information within thenew_delhi
variable. - Create
Axes
andFigure
objects (usefix, ax
variables). - Initialize a bar chart with
Month
column values on the x-axis andRainfall
column values on the y-axis (new_delhi
data).
Solution
Everything was clear?
Thanks for your feedback!