Ajay-Pandey
Databricks MVP

@Ravi Teja​ you can use limit() function to limit the number of row

You can refer below code -

data_frame.limit(10).display()

Ajay Kumar Pandey