Challenge
Oppgave
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 ofdftodatetimetype, and set them asdfindexes. - Initialize a line plot for the
"Open"column values of thedf. Setcolormapto"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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 3
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Suggested prompts:
Oppsummer dette kapittelet
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 3.85
Challenge
Sveip for å vise menyen
Oppgave
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 ofdftodatetimetype, and set them asdfindexes. - Initialize a line plot for the
"Open"column values of thedf. Setcolormapto"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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 3. Kapittel 3
single