DataFrame.
columns
Returns all column names as a list.
Examples
>>> df.columns ['age', 'name']
previous
pyspark.sql.DataFrame.collect
next
pyspark.sql.DataFrame.corr