Python NumPy For Your Grandma - 5.2 View vs Copy

Опубликовано: 20 Январь 2021
на канале: GormAnalysis
493
11

In this video, we'll shed some light on when array indexing produces a view and when it makes a copy.

0:00 - intro / setup / view vs copy
1:11 - inspecting an array's memory address
1:48 - check if arrays share memory / np.shares_memory()
2:15 - copy an array / ndarray.copy()

-- Code -----------------------
https://www.practiceprobs.com/problem...

-- Vids & Playlists ---------------------------------
Google Colab -    • Introduction to Google Colab  
NumPy -    • Python NumPy For Your Grandma  
Pandas -    • Python Pandas For Your Grandpa  
Neural Networks -    • Neural Networks For Your Dog  

-- Subscribe To Mailing List ---------------------------------
https://eepurl.com/hC1Pmj

-- Support -----------------------
https://merchonate.com/gormanalysis