Kom igångKom igång gratis

Check Version

Checking the version of which Spark and Python installed is important as it changes very quickly and drastically. Reading the wrong documentation can cause lots of lost time and unnecessary frustration!

This course touches on a lot of concepts you may have forgotten, so if you ever need a quick refresher, download the PySpark Cheat Sheet and keep it handy!

Den här övningen är en del av kursen

Feature Engineering with PySpark

Visa kurs

Övningsinstruktioner

  • Print the Spark version.
  • Print the Python version_info.

Interaktiv övning med praktiskt arbete

Testa den här övningen genom att slutföra den här exempelkoden.

# Return spark version
print(spark.____)

# Return python version
import sys
print(sys.____)
Redigera och kör kod