CommencerCommencer gratuitement

Viewing the MovieLens Data

Familiarize yourself with the ratings dataset provided here. Would you consider the data to be implicit or explicit ratings?

Cet exercice fait partie du cours

Building Recommendation Engines with PySpark

Afficher le cours

Instructions

  • Look at the .columns of the ratings dataframe.
  • Look at the first few rows of ratings dataframe using the .show() method.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Look at the column names
print(ratings.____)

# Look at the first few rows of data
print(ratings.____())
Modifier et exécuter le code