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 are the benefits of NumPy arrays over (nested) Python lists?

Answer Posted / hr@tgksolutions.com

Python lists are suitable general-purpose containers. Python's list comprehensions make them easy to develop and use, and they enable (relatively) fast insertion, deletion, appending, and concatenation.

They have several drawbacks, such as the inability to perform "vectorized" operations like elementwise addition and multiplication and the requirement for Python to store type information for each element while working on it due to the possibility of include objects of multiple kinds.

Histograms, algebra, linear, basic statistics, rapid searching, convolutions, FFTs, and more are among the characteristics that make NumPy arrays faster.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the generators in python?

813


Why python is popular now?

775


Give the output of this example: a[3] if a=[1,4,6,7,9,66,4,94].

718


What is the purpose of a // operator?

865


Are methods objects in python?

827


How to find whether string is alphanumeric or not?

816


Are sets hashable python?

777


What is the biggest challenge facing your current job right now? What is your biggest failure?

732


What are object methods?

797


Can you use python to make apps?

805


How to determine type of an object?

816


What is the type () in python?

788


How does python handle compile-time and run-time code checking?

855


Which is better for future java or python?

848


What is meant by instantiating a class?

857