cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get full result using DataFrame.Display method

ratnakarsinha
New Contributor II

Hi,

Dataframe.Display method in Databricks notebook fetches only 1000 rows by default. Is there a way to change this default to display and download full result (more than 1000 rows) in python?

Thanks,

Ratnakar.

3 REPLIES 3

shyam_9
Valued Contributor
Valued Contributor

Hi @ratnakarsinha,

There is a limit in Databricks, not to load too much data because the computation is done on your browser and could crash Chrome / Firefox.

Hi @shyamspr, found that you can use dataframe.show instead. But there is no download option for dataframe.show method.

ramravi
Contributor II

display method doesn't have the option to choose the number of rows. Use the show method. It is not neat and you can't do visualizations and downloads.

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.