numpy tutorial - introduction | numpy array vs python list

preview_player
Показать описание
This tutorial covers an introduction to numpy python module. We'll see why numpy is very popular and talk about its main feature "n dimensional array". It is memory efficient, fast and convenient compared to python native list.

Topics that are covered in this Python Video:
0:00 what is numpy?
1:24 benefits of numpy array over python list
3:48 numpy using less memory (Memory presentation diagram of numpy and python array )
5:08 why numpy is fast and convenient

Next Video:

Рекомендации по теме
Комментарии
Автор

Machine learning tutorials with exercises:

codebasics
Автор

Important interview question asked about numpy is which is fast among numpy or list? And why?
And this is well explained in this video.
Thanks for such amazing videos
👍👍👍

_shubhambirhade
Автор

I do'NT understand who would dislike this video?!? His videos are short and informative, with clear explanations and exact titles. what are you looking for??! GOOD LUCK TO @codebasics

mehdimemar
Автор

well done, brief and spotted to the point!

andreacazzaniga
Автор

Thank you... For the best introduction to

Hope u teach us more abt numpy in upcomng

AetosAnatole-tmxz
Автор

in your earlier 16 videos, you have mentioned about the list comprehensions and zip functions, why i am asking these questions because i am following what you had advised in your initial video and being me as a novice difficult to follow the instructions then

adilmajeed
Автор

Nice video... But how did you assigned list in integer??

luckybairagi
Автор

Good video, by the way, many people in Europe and NA say 'num-PIE' ☺

Actanonverba
Автор

Hi, hello all, I have one csv file and one xlsx file..
My requirement is I want to read the data of particular row and column from csv file
And that data need to write in particular row and column to an xlsx suggestions would be appreciated

ramanjaneyulu
Автор

Hi, can anyone explain while trying to install via terminal the message shows like that- "Defaulting to user installation because normal site-packages is not writeable". Thanks

Quest_adventure
Автор

Interesting, I got a different result. Numpy took 22.5 ms and straight Python (3.6) took 0.5 ms for n = 1000.

michaelmolter
Автор

What is the reason of putting 5 in braces for sys.getsizeof() for list only?
For array why you did not use same thing?

surajmondal
Автор

Hi. I will soontbstart data analyst tutorial on udecity. They want numpy as prerequisite. Will these 4 tutorial be sufficient to start the course ??

sonamchoudhary
Автор

Question: when I do this sys.getsizeof([1]) in the python shell, it gives me 72, and when I do sys.getsizeof(np.array([1])) in the shell, it gives me 100.... so, by that logic, it seems the array object takes more space?? or am I missing something?

triparnakar
Автор

great videos i suggestion its pronounced as "num + pie" = numpy although numpiY is catchy

tahaanwar
Автор

code basics you created the range again and again in the code using range function and you call it list although list is created with [ ] and elements are separated by commas please explain this

illeyunzaman
Автор

I think the size of one element of the NumPy array is not always 4 bytes. It depends on whether your machine is 32 bit or 64 bit.

nischalshakya
Автор

You are an Angel, Sir
Love your content

siddharthadebvines
Автор

Great video and explanation!
One question -> I installed numpy under a 64bit architecture. I noticed that python list took less time than my numpy results. Is this just due the larger byte sizes I have in 64bit ?
Result below: Where I made SIZE =
python list took: 0.008821487426757812
numpy took: 2.1543502807617188

UnixMan
Автор

why do i get print(sys.getsizeof(5)) - 28 ??

satyenmehta