Skip to content

Commit

Permalink
DOC: minor docs changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jreback committed Apr 10, 2014
1 parent 5cfd7b6 commit c1440e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/source/indexing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1655,8 +1655,8 @@ demo different ways to initialize MultiIndexes.
tuples = list(zip(*arrays))
tuples
multi_index = MultiIndex.from_tuples(tuples, names=['first', 'second'])
multi_index
index = MultiIndex.from_tuples(tuples, names=['first', 'second'])
index
s = Series(randn(8), index=index)
s
Expand Down
5 changes: 3 additions & 2 deletions doc/source/v0.10.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ perform queries on a table, by passing a list to ``data_columns``

Retrieving unique values in an indexable or data column.

.. ipython:: python
:okwarning:
.. code-block:: python

# not that these are deprecated as of 0.14.0
# can be replicated by: store.select_column('df','index').unique()
store.unique('df','index')
store.unique('df','string')

Expand Down
4 changes: 4 additions & 0 deletions pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -1712,6 +1712,10 @@ def order(self, na_last=None, ascending=True, kind='quicksort', na_position='las
Returns
-------
y : Series
See Also
--------
Series.sort
"""
if na_last is not None:
warnings.warn(("na_last is deprecated. Please use na_position instead"),
Expand Down

0 comments on commit c1440e9

Please sign in to comment.