hernanavella
hernanavella

Reputation: 5552

How can I remove borders from display of dataframe in iPython QtConsole (Anaconda)?

I need to launch iPython QT console from the Editor window on Anaconda. But I really dislike how it displays the dataframes with this weird border (Pic #1):

Pic #1

How can I make it look normal, like this (Pic #2):

Pic #2

System Information:

Upvotes: 2

Views: 871

Answers (1)

Ajean
Ajean

Reputation: 5659

You can turn off the pretty-printing that is the default by the following:

import pandas as pd
pd.set_option('display.notebook_repr_html', False)

To make it permanent you can make the modifications in your IPython config files, though where exactly I'm not sure.

Upvotes: 4

Related Questions