a guest Oct 20th, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- list = df1.collect()
- subsample = list[400:700]
- df2 = sc.createDataFrame(subsample, attributes)
RAW Paste Data