开始使用免费开始使用

Literary analysis

Let's look at the book rating data again. You've been tasked with finding out more information about this data that you couldn't calculate before. You need to find the total number of ratings used to create this dataset and how old is the oldest book.

The DataFrame df_books is available in your environment.

本练习是课程的一部分

Introduction to Julia

查看课程

练习说明

  • Use the sum() function to find the total of the ratings_count column.
  • Use the minimum() function to find the minimum value in the original_publication_year column.

交互式实操练习

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

# Find the total number of ratings
total_reviews = ____(____)

# Find the earliest publication year
earliest_year = ____(____)

println("Total number of reviews is $total_reviews")
println("Earliest year of publication is $earliest_year")
编辑并运行代码