Guest User

Untitled

a guest
Aug 17th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. import org.apache.spark.sql.{functions => f}
  2.  
  3. stocks.select(f.col("open") * 2)
  4. // res9: org.apache.spark.sql.DataFrame = [(open * 2): double]
Add Comment
Please, Sign In to add comment