Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. # read in season totals
  2. df = spark.read.option('header','true')\
  3. .option('inferSchema','true')\
  4. .csv('data/season_totals.csv')
  5. df.cache() # cache the result as we will refer back to this dataframe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement