ComenzarEmpieza gratis

Viewing the MovieLens Data

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

Este ejercicio forma parte del curso

Building Recommendation Engines with PySpark

Ver curso

Instrucciones del ejercicio

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

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

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

# Look at the first few rows of data
print(ratings.____())
Editar y ejecutar código