1

When I use pandas in ipython notebook, I get nicely formatted table:

enter image description here

when I use pandas in ipython qtconsole, I get an ugly table with double line border, like this:

enter image description here

Where can I change the look of the table, displayed in ipython qtconsole ? I would like to have simple table with single border

UPDATE:

I am using pandas version 0.8.0-2, and the suggested option pd.set_option('display.notebook_repr_html', False) does not exist there.

On another machine, I have tried upgrading to 0.14.1-2, but there the table has no border at all by default (the option pd.set_option('display.notebook_repr_html', False) exists, but has no effect, regardless whether I set it to False or True)

3
  • As far as I know there is no nice way of doing this without writing quite complicated code to do the table formatting. But please let me know if there is a simple answer! This is the best I've found. stackoverflow.com/questions/18876022/… Commented Dec 5, 2015 at 20:50
  • Probably you could use answer for that question Commented Dec 5, 2015 at 20:51
  • I don't believe it is possible. The HTML rendering in the Qt rich text widget is pretty limited. We could embed webkit and write a fully web based UI, but that would be a major rewrite of the Qt console. We have an idea for a web console embedded in the notebook, though, so it's not impossible. – Thomas K Mar 13 '14 at 20:16 Commented Dec 6, 2015 at 2:27

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.