Back to Browse

Shallow vs. deep copies in Python

1.5K views
Jan 31, 2022
8:33

What do people mean when they talk about "shallow" vs "deep" copies? How do you create shallow copies, and how do you make deep copies? In this video, I demonstrate the differences, and how you can view them yourself. Jupyter notebooks, as usual, are available on GitHub at https://github.com/reuven/YouTube-notebooks.

Download

1 formats

Video Formats

360pmp412.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Shallow vs. deep copies in Python | NatokHD