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 / glibwaresoftsolutions

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 is a class definition in python?

847


What are methods in python?

884


What is python programming language?

821


What is key lambda in python?

958


What is the difference between locals() and globals ()?

894


Is python zero indexed?

850


What are all the operating system that python can run on?

823


How can I execute arbitrary python statements from c?

951


How many types of objects does python support?

939


Which methods of python are used to determine the type of instance and inheritance?

836


Is numeric in python?

845


Why c++ is faster than python?

907


What are class attributes in python?

836


What are the different environment variables identified by python?

833


Explain about odbc and python?

879