Answers for "pyspark select column"

1

pyspark select columns

df.select("firstname","lastname")
Posted by: Guest on March-09-2021
0

choose column pyspark

df.select(f.col('Column'))
Posted by: Guest on June-04-2020

Browse Popular Code Answers by Language