Skip to content

Commit 95bac66

Browse files
committed
DOC: added justify docs
1 parent 0d8b44f commit 95bac66

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

RELEASE.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ pandas 0.7.0
5858
- Can pass multiple Panels to ``Panel.join`` (GH #115)
5959
- Can pass multiple DataFrames to `DataFrame.append` to concatenate (stack)
6060
and multiple Series to ``Series.append`` too
61+
- Added ``justify`` argument to ``DataFrame.to_string`` to allow different
62+
alignment of column headers
6163

6264
**API Changes**
6365

doc/source/io.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ over the string representation of the object. All arguments are optional:
290290
- ``index_names`` default True, will print the names of the indices
291291
- ``index`` default True, will print the index (ie, row labels)
292292
- ``header`` default True, will print the column labels
293+
- ``justify`` default ``left``, will print column headers left- or
294+
right-justified
293295

294296
The Series object also has a ``to_string`` method, but with only the ``buf``,
295297
``na_rep``, ``float_format`` arguments. There is also a ``length`` argument

0 commit comments

Comments
 (0)