What is the difference between `deepcopy` and `shallow copy`?
Answer Posted / glibwaresoftsolutions
• Shallow copy: Copies only the pointer, not the actual data.
• Deep copy: Creates a new memory allocation and copies the data.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is blob in python?
Which is best python or r?
Can we change tuple values? If yes, give an example.
What is a tuple in python?
Which ide is better for python?
How do I find the current module name?
Write a program to find the given string in the line?
Can you learn python with no experience?
How can you create a gui based application in python for client-side functionality?
Mention the concept used in python for memory managing
Why python is better than r for data science?
Which is faster tuple or list?
What is Python Decorator?
What does %d do in python?
How do I generate random numbers in python?