IniziaInizia gratis

Viewing the MovieLens Data

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

Questo esercizio fa parte del corso

Building Recommendation Engines with PySpark

Visualizza il corso

Istruzioni dell'esercizio

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

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

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

# Look at the first few rows of data
print(ratings.____())
Modifica ed esegui il codice