Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -6310,7 +6310,7 @@ def explode(self, columns: Union[str, List[str]]) -> "DataFrame":
for c in columns:
tmp[c] = self[c].explode()
else:
raise ValueError("lengths of lists in the same row not equal")
raise ValueError("Exploded lists from `columns` do not have equivalent length within the same record")

# join in exploded columns
results = self.drop(columns, axis=1).join(tmp)
Expand Down