ComeçarComece de graça

Exploring data.tables

In this exercise, you will explore two data.tables:

  • netflix: contains information about some of the Netflix original series released in 2017
  • imdb: contains ratings for some TV shows and movies obtained from IMDB

This course touches on a lot of concepts you may have forgotten, so if you ever need a quick refresher, download the data.table Cheat Sheet and keep it handy!

Este exercício faz parte do curso

Joining Data with data.table in R

Ver curso

Instruções do exercício

  • Use the tables() (docs) function to show all the data.tabless in your R session (along with their number of rows, columns and other info).
  • Use the head() (docs) function to print the first 6 rows of netflix and imdb.
  • Print the str() (docs) structure of netflix and imdb.

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# What data.tables are in my R session?
___

# View the first six rows 
___(___)
___

# Print the structure
___(___)
___
Editar e executar o código