cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

pandas .style is ugly in Databricks

DavidKxx
Contributor

Why does something like 

 

 

 

 

 

df.style.hide_index()

 

 

 

 

 

turn out so ugly in Databricks?  That command should show the dataframe pretty like always, but simply with the index column concealed.  Instead, here's an image of what happens instead (displaying the dataframe twice in this code -- first as regular, then with .style:
Screenshot 2024-03-11 111410.png

0 REPLIES 0