Skip to content

Commit db24ba5

Browse files
committed
DOC: replaces silent error for setattr on nonexistent name with UserWarning
1 parent 87dafda commit db24ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/indexing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ as an attribute:
228228
panel.one
229229
230230
You can use attribute access to modify an existing element of a Series or column of a DataFrame, but be careful;
231-
if you try to use attribute access to create a new column, it fails silently, creating a new attribute rather than a
231+
if you try to use attribute access to create a new column, it issues a `UserWarning` and creates a new attribute rather than a
232232
new column.
233233

234234
.. ipython:: python

0 commit comments

Comments
 (0)