Guest User

Untitled

a guest
Jul 23rd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. val df = sqlContext.sql("select * from myTable");
  2. val filter = df.filter("ISNUMERIC('col_a')");
  3. //I want filter to be a dataframe of df where the values in col_a are numeric.
Add Comment
Please, Sign In to add comment