Skip to content

Commit aedaf59

Browse files
committed
update comment
1 parent 6784d79 commit aedaf59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2130,7 +2130,7 @@ def _setitem_single_column(self, loc: int, value, plane_indexer) -> None:
21302130
dtype = self.obj.dtypes.iloc[loc]
21312131
if dtype not in (np.void, object) and not self.obj.empty:
21322132
# - Exclude np.void, as that is a special case for expansion.
2133-
# We want to warn for
2133+
# We want to raise for
21342134
# df = pd.DataFrame({'a': [1, 2]})
21352135
# df.loc[:, 'a'] = .3
21362136
# but not for

0 commit comments

Comments
 (0)