Skip to content

Commit 32f9a21

Browse files
committed
fix doc string formatting errors for ExtensionArray.shift issue #28685
1 parent 8901b20 commit 32f9a21

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/core/arrays/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,13 +540,14 @@ def shift(self, periods: int = 1, fill_value: object = None) -> ABCExtensionArra
540540
541541
fill_value : object, optional
542542
The scalar value to use for newly introduced missing values.
543-
The default is ``self.dtype.na_value``
543+
The default is ``self.dtype.na_value``.
544544
545545
.. versionadded:: 0.24.0
546546
547547
Returns
548548
-------
549-
shifted : ExtensionArray
549+
ExtensionArray
550+
Shifted.
550551
551552
Notes
552553
-----

0 commit comments

Comments
 (0)