Skip to content

Commit 2bd9f84

Browse files
conmaiy-p
conmai
authored and
y-p
committed
DOC: Added some decriptions to the Selection subsection of the Cookbook
1 parent bf627b1 commit 2bd9f84

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/source/cookbook.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,23 @@ The :ref:`indexing <indexing>` docs.
3434

3535
`Boolean Rows Indexing
3636
<http://stackoverflow.com/questions/14725068/pandas-using-row-labels-in-boolean-indexing>`__
37+
Indexing using both row labels and conditionals
3738

3839
`Using loc and iloc in selections
3940
<https://github.com/pydata/pandas/issues/2904>`__
41+
Use loc for label-oriented slicing and iloc positional slicing
4042

4143
`Extending a panel along the minor axis
4244
<http://stackoverflow.com/questions/15364050/extending-a-pandas-panel-frame-along-the-minor-axis>`__
45+
Extend a panel frame by transposing, adding a new dimension, and transposing back to the original dimensions
4346

4447
`Boolean masking in a panel
4548
<http://stackoverflow.com/questions/14650341/boolean-mask-in-pandas-panel>`__
49+
Mask a panel by using ``np.where`` and then reconstructing the panel with the new masked values
4650

4751
`Selecting via the complement
4852
<http://stackoverflow.com/questions/14986510/picking-out-elements-based-on-complement-of-indices-in-python-pandas>`__
53+
``~`` can be used to take the complement of a boolean array
4954

5055
.. _cookbook.multi_index:
5156

0 commit comments

Comments
 (0)