From a25a2ec58c60d044672d3761a8029a1ff20242fe Mon Sep 17 00:00:00 2001 From: GALI PREM SAGAR Date: Wed, 2 Feb 2022 18:12:44 -0600 Subject: [PATCH] Fix docstrings alignment in `Frame` methods (#10199) Some examples in docstrings were misaligned, this PR fixes it. Authors: - GALI PREM SAGAR (https://github.com/galipremsagar) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) URL: https://github.com/rapidsai/cudf/pull/10199 --- python/cudf/cudf/core/frame.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/python/cudf/cudf/core/frame.py b/python/cudf/cudf/core/frame.py index 7e97d655147..7eabc39aa4b 100644 --- a/python/cudf/cudf/core/frame.py +++ b/python/cudf/cudf/core/frame.py @@ -5983,12 +5983,12 @@ def eq(self, other, axis="columns", level=None, fill_value=None): ... 'd': [10, 12, 12]} ... ) >>> left.eq(right) - a b c d + a b c d 0 True True 1 True True 2 True True >>> left.eq(right, fill_value=7) - a b c d + a b c d 0 True True True False 1 True True False False 2 True True False False @@ -6058,12 +6058,12 @@ def ne(self, other, axis="columns", level=None, fill_value=None): ... 'd': [10, 12, 12]} ... ) >>> left.ne(right) - a b c d + a b c d 0 False False 1 False False 2 False False >>> left.ne(right, fill_value=7) - a b c d + a b c d 0 False False False True 1 False False True True 2 False False True True @@ -6133,12 +6133,12 @@ def lt(self, other, axis="columns", level=None, fill_value=None): ... 'd': [10, 12, 12]} ... ) >>> left.lt(right) - a b c d + a b c d 0 False False 1 False False 2 False False >>> left.lt(right, fill_value=7) - a b c d + a b c d 0 False False False True 1 False False False True 2 False False False True @@ -6208,12 +6208,12 @@ def le(self, other, axis="columns", level=None, fill_value=None): ... 'd': [10, 12, 12]} ... ) >>> left.le(right) - a b c d + a b c d 0 True True 1 True True 2 True True >>> left.le(right, fill_value=7) - a b c d + a b c d 0 True True True True 1 True True False True 2 True True False True @@ -6283,12 +6283,12 @@ def gt(self, other, axis="columns", level=None, fill_value=None): ... 'd': [10, 12, 12]} ... ) >>> left.gt(right) - a b c d + a b c d 0 False False 1 False False 2 False False >>> left.gt(right, fill_value=7) - a b c d + a b c d 0 False False False False 1 False False True False 2 False False True False @@ -6358,12 +6358,12 @@ def ge(self, other, axis="columns", level=None, fill_value=None): ... 'd': [10, 12, 12]} ... ) >>> left.ge(right) - a b c d + a b c d 0 True True 1 True True 2 True True >>> left.ge(right, fill_value=7) - a b c d + a b c d 0 True True True False 1 True True True False 2 True True True False