Debayan
Databricks Employee
Databricks Employee

Hi, Thanks for reaching out to community.databricks.com.

Please refer and let us know if this helps, you can find column names: https://sparkbyexamples.com/pyspark/pyspark-find-datatype-column-names-of-dataframe/