File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Sorting with keys
44
44
We've added a ``key `` argument to the DataFrame and Series sorting methods, including
45
45
:meth: `DataFrame.sort_values `, :meth: `DataFrame.sort_index `, :meth: `Series.sort_values `,
46
46
and :meth: `Series.sort_index `. The ``key `` can be any callable function which is applied
47
- column-by-column to each column used for sorting, before sorting is performed (:issue: `27237 `).
47
+ column-by-column to each column used for sorting, before sorting is performed (:issue: `27237 `).
48
48
See :ref: `sort_values with keys <basics.sort_value_key >` and :ref: `sort_index with keys
49
49
<basics.sort_index_key>` for more information.
50
50
@@ -54,7 +54,7 @@ See :ref:`sort_values with keys <basics.sort_value_key>` and :ref:`sort_index wi
54
54
s.sort_values()
55
55
56
56
57
- Note how this is sorted with capital letters first. If we apply the :meth: `Series.str.lower `
57
+ Note how this is sorted with capital letters first. If we apply the :meth: `Series.str.lower `
58
58
method, we get
59
59
60
60
.. ipython :: python
You can’t perform that action at this time.
0 commit comments