Skip to content

Commit e0b0b57

Browse files
committed
spacing
1 parent 4a0b856 commit e0b0b57

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/source/user_guide/indexing.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,11 +1458,13 @@ default value.
14581458

14591459
The :meth:`~pandas.DataFrame.lookup` method
14601460
-------------------------------------------
1461-
Sometimes you want to extract a set of values given a sequence of row labels
1462-
and column labels, and the ``lookup`` method allows for this and returns a
1463-
NumPy array. For instance:
14641461

1465-
.. ipython:: python
1462+
Sometimes you want to extract a set of values given a sequence of row labels
1463+
and column labels, and the ``lookup`` method allows for this and returns a
1464+
NumPy array. For instance:
1465+
1466+
.. ipython:: python
1467+
14661468
dflookup = pd.DataFrame(np.random.rand(20, 4), columns = ['A', 'B', 'C', 'D'])
14671469
dflookup.lookup(list(range(0, 10, 2)), ['B', 'C', 'A', 'B', 'D'])
14681470

0 commit comments

Comments
 (0)