Closed
Description
The Travis docs for to_html states that the only accepted parameters for justify
are left
and right
.
However, I stumbled upon the fact that you can also pass in center
, and it will work just fine (i.e. the cell elements and headers are centered), as evidenced by the code:
pandas/pandas/io/formats/format.py
Lines 1215 to 1217 in fa557f7
@TomAugspurger : Should we continue to allow only left
and right
or should we expand to accept center
? I'm personally up for the latter but wanted to get consensus first.