Skip to content

Commit 673c5ad

Browse files
add docstrings
1 parent 11efb5f commit 673c5ad

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

bigframes/dataframe.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,8 @@ def __neg__(self) -> DataFrame:
13091309
def __abs__(self) -> DataFrame:
13101310
return self._apply_unary_op(ops.abs_op)
13111311

1312+
__abs__.__doc__ = abs.__doc__
1313+
13121314
def align(
13131315
self,
13141316
other: typing.Union[DataFrame, bigframes.series.Series],

bigframes/series.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,6 +1363,8 @@ def update(self, other: Union[Series, Sequence, Mapping]) -> None:
13631363
def __abs__(self) -> Series:
13641364
return self.abs()
13651365

1366+
__abs__.__doc__ = inspect.getdoc(vendored_pandas_series.Series.abs)
1367+
13661368
def abs(self) -> Series:
13671369
return self._apply_unary_op(ops.abs_op)
13681370

0 commit comments

Comments
 (0)