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

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 chmod 755 in python?

1014


Number of argument’s that range() function can take ?

838


How will you find, in a string, the first word that rhymes with ‘cake’?

1472


Is there an equivalent of c's "?:" Ternary operator?

859


What is repr() function in python?

910


Do you know how memory is managed in python?

938


Why and when do you use generators in python?

887


What are python namespaces?

844


How to get the ascii value in python?

1031


Where python is mostly used?

820


Mention what is the difference between Django, Pyramid, and Flask.

897


What are middlewares in python?

805


How do I run python in notepad ++?

900


What is the usage of enumerate () function in python?

923


Can I use python to make a website?

897