Mulai sekarangMulai gratis

Viewing the MovieLens Data

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

Latihan ini merupakan bagian dari kursus

Building Recommendation Engines with PySpark

Lihat Kursus

Instruksi latihan

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

Latihan interaktif langsung praktik

Cobalah latihan ini dengan melengkapi kode contoh ini.

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

# Look at the first few rows of data
print(ratings.____())
Edit dan Jalankan Kode