开始使用免费开始使用

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.

本练习是课程的一部分

Introduction to Data Visualization with Julia

查看课程

交互式实操练习

通过完成这段示例代码来试试这个练习。

# Plot time series
____(
	____.____,
    ____."____",
    color=:red2,
    linewidth=2.5,
    label="Apple"
)
ylabel!("Price (Rupees)")
编辑并运行代码