@@ -4534,11 +4534,11 @@ def filter(self, items=None, like=None, regex=None, axis=None):
45344534 Parameters
45354535 ----------
45364536 items : list-like
4537- List of axis to restrict to (must not all be present) .
4537+ Keep labels from axis which are in items .
45384538 like : string
4539- Keep axis where "arg in col == True".
4539+ Keep labels from axis for which "like in label == True".
45404540 regex : string (regular expression)
4541- Keep axis with re.search(regex, col ) == True.
4541+ Keep labels from axis for which re.search(regex, label ) == True.
45424542 axis : int or string axis name
45434543 The axis to filter on. By default this is the info axis,
45444544 'index' for Series, 'columns' for DataFrame.
@@ -4561,7 +4561,7 @@ def filter(self, items=None, like=None, regex=None, axis=None):
45614561
45624562 Examples
45634563 --------
4564- >>> df = pd.DataFrame(np.array(([1,2, 3], [4,5, 6])),
4564+ >>> df = pd.DataFrame(np.array(([1, 2, 3], [4, 5, 6])),
45654565 ... index=['mouse', 'rabbit'],
45664566 ... columns=['one', 'two', 'three'])
45674567
0 commit comments