Skip to content

Commit 14d34a7

Browse files
committed
Fixup
1 parent 65e1374 commit 14d34a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: pandas/core/arrays/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1959,10 +1959,10 @@ def _formatter(self, boxed: bool = False) -> Callable[[Any], str | None]:
19591959
--------
19601960
>>> class MyExtensionArray(pd.arrays.NumpyExtensionArray):
19611961
... def _formatter(self, boxed=False):
1962-
... return lambda x: "*" + str(x)
1962+
... return lambda x: "*" + str(x) + "*"
19631963
>>> MyExtensionArray(np.array([1, 2, 3, 4]))
19641964
<MyExtensionArray>
1965-
[1*, 2*, 3*, 4*]
1965+
[*1*, *2*, *3*, *4*]
19661966
Length: 4, dtype: int64
19671967
"""
19681968
if boxed:

0 commit comments

Comments
 (0)