Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between `deepcopy` and `shallow copy`?

Answer Posted / hr@tgksolutions.com

A shallow copy creates a new object but does not create copies of nested objects, while a deep copy creates copies of all nested objects as well.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why and when do you use generators in python?

929


Is numpy faster than python?

921


What are the types of python?

961


List out standard datatypes in python

899


How can you organize your code to make it easier to change the base class?

1034


Is python zero indexed?

908


Why is the order in python dictionaries and sets arbitrary?

1077


What is the purpose of the single underscore “_” variable in python?

979


What are accessors, mutators, @property?

932


Define python?

949


What happens if an error occurs that is not handled in the except block?

886


Is numpy faster than pandas?

894


Do I need to learn c++ before python?

998


Write a program in python to check if a number is prime.

908


What is head and tail method for data frames in pandas ?

921