File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ pandas 0.7.0
58
58
- Can pass multiple Panels to ``Panel.join `` (GH #115)
59
59
- Can pass multiple DataFrames to `DataFrame.append ` to concatenate (stack)
60
60
and multiple Series to ``Series.append `` too
61
+ - Added ``justify `` argument to ``DataFrame.to_string `` to allow different
62
+ alignment of column headers
61
63
62
64
**API Changes **
63
65
Original file line number Diff line number Diff line change @@ -290,6 +290,8 @@ over the string representation of the object. All arguments are optional:
290
290
- ``index_names `` default True, will print the names of the indices
291
291
- ``index `` default True, will print the index (ie, row labels)
292
292
- ``header `` default True, will print the column labels
293
+ - ``justify `` default ``left ``, will print column headers left- or
294
+ right-justified
293
295
294
296
The Series object also has a ``to_string `` method, but with only the ``buf ``,
295
297
``na_rep ``, ``float_format `` arguments. There is also a ``length `` argument
You can’t perform that action at this time.
0 commit comments