From 851f4edc9f3757c06e94c32ebfe377e9d4796829 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Fri, 29 Nov 2019 10:19:44 +0100 Subject: [PATCH 1/2] DOC: remove reference to get_value (removed) in DataFrame.lookup docstring --- pandas/core/frame.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index d436385ba61ce..d2e396284c5a7 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3544,13 +3544,6 @@ def lookup(self, row_labels, col_labels): ------- numpy.ndarray - Notes - ----- - Akin to:: - - result = [df.get_value(row, col) - for row, col in zip(row_labels, col_labels)] - Examples -------- values : ndarray From 9f063b4e58e0e4cfe345a9ad3d11721fd9afcbb1 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Fri, 29 Nov 2019 10:23:05 +0100 Subject: [PATCH 2/2] also remove reference from the docs --- doc/source/user_guide/indexing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/indexing.rst b/doc/source/user_guide/indexing.rst index cf55ce0c9a6d4..0229331127441 100644 --- a/doc/source/user_guide/indexing.rst +++ b/doc/source/user_guide/indexing.rst @@ -374,7 +374,7 @@ For getting values with a boolean array: df1.loc['a'] > 0 df1.loc[:, df1.loc['a'] > 0] -For getting a value explicitly (equivalent to deprecated ``df.get_value('a','A')``): +For getting a value explicitly: .. ipython:: python