From 3532e3ec8ca2fce66b8b8085d377830c8e0c7397 Mon Sep 17 00:00:00 2001 From: Farhan Reynaldo Date: Sun, 5 Apr 2020 04:23:02 +0700 Subject: [PATCH] DOC: Fix error in Series.clip and DataFrame.clip (#33282) --- pandas/core/generic.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 0ecfbce460b3a..c202bf846047f 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7299,6 +7299,12 @@ def clip( Same type as calling object with the values outside the clip boundaries replaced. + See Also + -------- + Series.clip : Trim values at input threshold in series. + DataFrame.clip : Trim values at input threshold in dataframe. + numpy.clip : Clip (limit) the values in an array. + Examples -------- >>> data = {'col_0': [9, -3, 0, -1, 5], 'col_1': [-2, -7, 6, 8, -5]}