시작하기무료로 시작하기

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")
코드 편집 및 실행