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 to show all rows by "DataFrame.show()"?

Mado
Valued Contributor II

Hi,

DataFrame.show() has a parameter n to set "Number of rows to show".

Is there any way to show all rows?

1 ACCEPTED SOLUTION

Accepted Solutions

sher
Valued Contributor II

Hi Medo

this method will work fine df.show(df.count())

View solution in original post

1 REPLY 1

sher
Valued Contributor II

Hi Medo

this method will work fine df.show(df.count())

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now