Them apples
In this exercise, you will plot the time series of apple prices in a center in Chittoor, India. The apple
DataFrame contains dates in a string format. To plot the time series accurately, you must convert these dates to Date
types and sort them chronologically. Let us see what happens if you don't.
The necessary packages, DataFrames
, Plots
, and Dates
, have already been imported. Furthermore, the apple
DataFrame is readily available for you. You can visualize it in the shell to determine its current date format.
Este exercício faz parte do curso
Introduction to Data Visualization with Julia
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Plot time series
____(
____.____,
____."____",
color=:red2,
linewidth=2.5,
label="Apple"
)
ylabel!("Price (Rupees)")