Skip to content

Commit

Permalink
Fix docstrings alignment in Frame methods (#10199)
Browse files Browse the repository at this point in the history
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: #10199
  • Loading branch information
galipremsagar authored Feb 3, 2022
1 parent a10d24a commit a25a2ec
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions python/cudf/cudf/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <NA> <NA>
1 True True <NA> <NA>
2 True True <NA> <NA>
>>> 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
Expand Down Expand Up @@ -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 <NA> <NA>
1 False False <NA> <NA>
2 False False <NA> <NA>
>>> 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
Expand Down Expand Up @@ -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 <NA> <NA>
1 False False <NA> <NA>
2 False False <NA> <NA>
>>> 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
Expand Down Expand Up @@ -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 <NA> <NA>
1 True True <NA> <NA>
2 True True <NA> <NA>
>>> 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
Expand Down Expand Up @@ -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 <NA> <NA>
1 False False <NA> <NA>
2 False False <NA> <NA>
>>> 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
Expand Down Expand Up @@ -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 <NA> <NA>
1 True True <NA> <NA>
2 True True <NA> <NA>
>>> 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
Expand Down

0 comments on commit a25a2ec

Please sign in to comment.