Update indexing.rst

Adding a warning, and example, about using attribute access to create a new column.
Merge pull request #7188 from AllenDowney/patch-1

Update indexing.rst