Skip to content

Commit 72151d1

Browse files
jorisvandenbosscheproost
authored andcommitted
DOC: remove reference to get_value (removed) in DataFrame.lookup docstring (pandas-dev#29925)
1 parent dc5a32a commit 72151d1

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

doc/source/user_guide/indexing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ For getting values with a boolean array:
374374
df1.loc['a'] > 0
375375
df1.loc[:, df1.loc['a'] > 0]
376376
377-
For getting a value explicitly (equivalent to deprecated ``df.get_value('a','A')``):
377+
For getting a value explicitly:
378378

379379
.. ipython:: python
380380

pandas/core/frame.py

-7
Original file line numberDiff line numberDiff line change
@@ -3544,13 +3544,6 @@ def lookup(self, row_labels, col_labels):
35443544
-------
35453545
numpy.ndarray
35463546
3547-
Notes
3548-
-----
3549-
Akin to::
3550-
3551-
result = [df.get_value(row, col)
3552-
for row, col in zip(row_labels, col_labels)]
3553-
35543547
Examples
35553548
--------
35563549
values : ndarray

0 commit comments

Comments
 (0)