Domanda di colloquio di Trexquant Investment

What is deep copy in Python?

Risposta di colloquio

Anonimo

14 dic 2018

deepcopy is basically a way of making a copy of a duplicate of entire data structure instead of just copying the reference to the data structure. The difference between deep copy and shallow copy is basically the difference between pass by value and pass by reference while passing arguments to function in C.