Skip to content

Commit df0fccf

Browse files
committed
doc-string
1 parent b9d8a42 commit df0fccf

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
@@ -6283,7 +6283,7 @@ def explode(self, column: str) -> "DataFrame":
62836283
2 [] 1
62846284
3 [3, 4] 1
62856285
6286-
>>> df.explode('A')
6286+
>>> df.explode('A')
62876287
A B
62886288
0 1 1
62896289
0 2 1

pandas/core/series.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3683,6 +3683,7 @@ def explode(self) -> "Series":
36833683
3 3
36843684
3 4
36853685
dtype: object
3686+
36863687
"""
36873688
if not len(self) or not is_object_dtype(self):
36883689
return self.copy()

0 commit comments

Comments
 (0)