Where can I configure Jupyter to make a DataFrame object appear as a full-bordered table by default?
Now it looks like this:
I wish it could look like:
You can add the following code to your notebook, which will apply to all cells in the current notebook regardless of what cell it's entered in:
%%HTML
<style type="text/css">
table.dataframe td, table.dataframe th {
border-style: solid;
}
</style>
If you want it to apply to all notebooks, you can add a custom config/css file. Answers on how to do that can be found here.
You might also want to explore jupyterthemes depending on how much other configuration you want to do.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With