SyntaxFix
Write A Post
Hire A Developer
Questions
You can get the names from the schema by doing
spark_df.schema.names
Printing the schema can be useful to visualize it as well
spark_df.printSchema()