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,

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group