Skip to content

Commit 3e1e0df

Browse files
committed
Merge branch 'issue_7432_resolve' of https://github.com/roblevy/pandas into roblevy-issue_7432_resolve
2 parents 38728d1 + b3f9151 commit 3e1e0df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/frame.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2022,6 +2022,8 @@ def _sanitize_column(self, key, value):
20222022
# GH 4107
20232023
try:
20242024
value = value.reindex(self.index).values
2025+
except ValueError as e:
2026+
raise e
20252027
except:
20262028
raise TypeError('incompatible index of inserted column '
20272029
'with frame index')

0 commit comments

Comments
 (0)