Guest User

Untitled

a guest
Oct 20th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. list = df1.collect()
  2. subsample = list[400:700]
  3. df2 = sc.createDataFrame(subsample, attributes)
Add Comment
Please, Sign In to add comment