From d3aea1ed93329b56ed5ce5ac81144fdc4103c9f8 Mon Sep 17 00:00:00 2001 From: Farhan Reynaldo Date: Sat, 4 Apr 2020 17:10:20 +0700 Subject: [PATCH] DOC: Fix error in Series.clip and DataFrame.clip --- 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]}