Ajay-Pandey
Databricks MVP

Hi you can use display() or show() function that will provide you expected results.

Ajay Kumar Pandey