DataFrame.to_html() > columns parameter broken?

10 views
Skip to first unread message

Joris A

unread,
Mar 9, 2012, 8:54:23 AM3/9/12
to pystatsmodels
Hello again,

Continuing with to_html()...with 0.7.1.

Let's say df has more than 2 cols.

If I try :
df.to_string(columns=['a', 'b']) -> OK => Display only the selected
cols
df.to_html(columns=['a', 'b']) -> NOK => Display all columns

Is the columns parameter broken in to_html() or is there a slightly
different syntax?

Thanks

Wouter Overmeire

unread,
Mar 9, 2012, 9:08:59 AM3/9/12
to pystat...@googlegroups.com
Indeed, this is broken. There is no slightly different syntax, it should work as you expect.

I reported it as an issue: https://github.com/pydata/pandas/issues/890
Reply all
Reply to author
Forward
0 new messages