Skip to content

Commit ac47dd5

Browse files
committed
doc-string
1 parent 230404c commit ac47dd5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pandas/core/frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6279,7 +6279,7 @@ def explode(self, column: str) -> "DataFrame":
62796279
2 [] 1
62806280
3 [3, 4] 1
62816281
6282-
>>> df.explode('A')
6282+
>>> df.explode('A')
62836283
A B
62846284
0 1 1
62856285
0 2 1

pandas/core/series.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3679,6 +3679,7 @@ def explode(self) -> "Series":
36793679
3 3
36803680
3 4
36813681
dtype: object
3682+
36823683
"""
36833684
if not len(self) or not is_object_dtype(self):
36843685
return self.copy()

0 commit comments

Comments
 (0)