cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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,

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.