Skip to content

Commit 6aafb91

Browse files
committed
Merge pull request #7012 from ojdo/patch-1
Added selection example to cookbook
2 parents dc098d8 + 3c0dee6 commit 6aafb91

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

doc/source/cookbook.rst

+9-10
Original file line numberDiff line numberDiff line change
@@ -60,28 +60,27 @@ Selection
6060

6161
The :ref:`indexing <indexing>` docs.
6262

63-
Indexing using both row labels and conditionals, see
64-
`here
63+
`Indexing using both row labels and conditionals
6564
<http://stackoverflow.com/questions/14725068/pandas-using-row-labels-in-boolean-indexing>`__
6665

67-
Use loc for label-oriented slicing and iloc positional slicing, see
68-
`here <https://github.com/pydata/pandas/issues/2904>`__
66+
`Use loc for label-oriented slicing and iloc positional slicing
67+
<https://github.com/pydata/pandas/issues/2904>`__
6968

70-
Extend a panel frame by transposing, adding a new dimension, and transposing back to the original dimensions, see
71-
`here
69+
`Extend a panel frame by transposing, adding a new dimension, and transposing back to the original dimensions
7270
<http://stackoverflow.com/questions/15364050/extending-a-pandas-panel-frame-along-the-minor-axis>`__
7371

74-
Mask a panel by using ``np.where`` and then reconstructing the panel with the new masked values
75-
`here
72+
`Mask a panel by using ``np.where`` and then reconstructing the panel with the new masked values
7673
<http://stackoverflow.com/questions/14650341/boolean-mask-in-pandas-panel>`__
7774

78-
Using ``~`` to take the complement of a boolean array, see
79-
`here
75+
`Using ``~`` to take the complement of a boolean array, see
8076
<http://stackoverflow.com/questions/14986510/picking-out-elements-based-on-complement-of-indices-in-python-pandas>`__
8177

8278
`Efficiently creating columns using applymap
8379
<http://stackoverflow.com/questions/16575868/efficiently-creating-additional-columns-in-a-pandas-dataframe-using-map>`__
8480

81+
`Keep other columns when using min() with groupby
82+
<http://stackoverflow.com/questions/23394476/keep-other-columns-when-using-min-with-groupby>`__
83+
8584
.. _cookbook.multi_index:
8685

8786
MultiIndexing

0 commit comments

Comments
 (0)