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

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.