Sektion 3. Kapitel 3
single
Challenge
Stryg for at vise menuen
Opgave
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
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 3
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat