10. Numpy Vs. Python List (Part 4) [ Convenience ] [Explained Practically]

preview_player
Показать описание
In this Numpy tutorial video, we are going to prove that Numpy is more convenient to you as compared to the Python List
Jump to coding part: 0:51

NumPy is a library for the Python programming language which helps in Machine Learning, Deep Learning, Image processing, etc, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.

We will discuss similarities and differences between list and NumPy array in detail.

Advantages of using NumPy Arrays:

The most important benefits of using it are :

It consumes less memory.
It is fast as compared to the python List.
It is convenient to use.

If you enjoy these tutorials, like the video, and give it a thumbs up and also share these videos with your friends and families if you think these videos would help him.
Please consider clicking the SUBSCRIBE button to be notified of future videos.

 Thank you all for watching
Рекомендации по теме
Комментарии
Автор

in case anybody is trying with for loop, doesnt work either
print "Hello World"
height=[1.67, 1.74, 1.56]
weight=[66.2, 56.3, 63.6]
bmi=[]
for i in range(0, len(height)+1):
print (weight[i])
print (height[i])
bmi[i]=weight[i] + height[i]
print (bmi)


Output
Hello World
66.2
1.67

Traceback (most recent call last):
File "Code", line 8, in <module>
IndexError: list assignment index out of range

kvnpatel
welcome to shbcf.ru