cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

How do i see all the dataframe column if I have more than 1000 column in dataframe

User16826994223
Honored Contributor III

 I tried printSchema() of a Dataframe in Databricks

. The Dataframe is having more than 1500 columns and apparently the printscheam function is truncating results and displaying only 1000 items. How to see all columns

1 REPLY 1

User16826994223
Honored Contributor III

Databricks also shows the schema of the Dataframe when it's created - click on the icon next to the name of variable that holds the dataframe

If you have output of more than limit, then I would imagine outputting the schema into file,