select columns in pyspark code example
Example 1: pyspark select columns
df.select("firstname","lastname")
Example 2: choose column pyspark
df.select(f.col('Column'))
df.select("firstname","lastname")
df.select(f.col('Column'))