# Select one column from your DataFrame | |
df.select("column").show() | |
# Select multiple columns from your DataFrame | |
df.select("column1", "column2").show() | |
# Select a column and add 1 to every entry | |
df.select(df.column + 1).show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment