Aan de slagBegin gratis

Viewing the MovieLens Data

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

Deze oefening maakt deel uit van de cursus

Building Recommendation Engines with PySpark

Bekijk cursus

Oefeninstructies

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

Interactieve oefening met praktijkervaring

Probeer deze oefening door deze voorbeeldcode aan te vullen.

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

# Look at the first few rows of data
print(ratings.____())
Code bewerken en uitvoeren