It’s not clear what you are doing here, could you post the actual code? Separate from that, it’s important to remember that if you are working with data that is so large that you need distributed computing (i.e. Databricks), dumping it to the browser screen is likely not what you want to do anyway. What use case are you trying to solve for?