Challenge
Uppgift
Swipe to start coding
You are faced with the task of creating a visualization of the aapl.csv
dataset:
- Read the dataset. Convert the
"Date"
column ofdf
todatetime
type, and set them asdf
indexes. - Initialize a line plot for the
"Open"
column values of thedf
. Setcolormap
to"gray"
. - Add a title to the plot. In this order, it should contain the
"Open"
column's max and min values. - Add labels on an axis:
"Datetime"
on the x-axis and"Price"
on the y-axis.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 3
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Suggested prompts:
Sammanfatta detta kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 3.85
Challenge
Svep för att visa menyn
Uppgift
Swipe to start coding
You are faced with the task of creating a visualization of the aapl.csv
dataset:
- Read the dataset. Convert the
"Date"
column ofdf
todatetime
type, and set them asdf
indexes. - Initialize a line plot for the
"Open"
column values of thedf
. Setcolormap
to"gray"
. - Add a title to the plot. In this order, it should contain the
"Open"
column's max and min values. - Add labels on an axis:
"Datetime"
on the x-axis and"Price"
on the y-axis.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Awesome!
Completion rate improved to 3.85Avsnitt 3. Kapitel 3
single