csdms / ivy

Course material on scientific software development for researchers in earth and planetary surface processes
https://csdms.colorado.edu
Other
75 stars 58 forks source link

Add a note on reference copying #130

Closed mdpiper closed 1 year ago

mdpiper commented 1 year ago

In an earlier version of the Python arrays lesson, @BCampforts had a section on the unexpected behavior of using a copy of a list or a NumPy array created through assignment. I wanted to address this topic of reference copying a little earlier in the Python lessons, so I've moved up the discussion into part two of the Python fundamentals lesson.

This addresses #128.