Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2015 01:10 PM
Is there a simple way to select columns from a dataframe with a sequence of string?
Something like
val colNames = Seq("c1", "c2")
df.select(colNames)
Labels:
- Labels:
-
Dataframe