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
Step by step roadmap to learn data science in 6 months: th-cam.com/video/H4YcqULY1-Q/w-d-xo.html Learn data science with pandas: th-cam.com/video/CmorAWRsCAw/w-d-xo.html Machine learning tutorials with exercises: th-cam.com/video/gmvvaobm7eQ/w-d-xo.html
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 👍👍👍
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 = 1000000 python list took: 0.008821487426757812 numpy took: 2.1543502807617188
Ah nevermind had a small typo in my result = [(x+y) for x, y in zip(l1,l2)] line of code lol. Results make more sense now python list took: 101.22132301330566 numpy took: 11.317014694213867
If error come attributes not found or array not defined something. .... Then go to windows type numpy.py then enter tha path file and then form there change to name of numpy to anything..like program,file,nummy. Anything you like. Then again run the same code
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?
@@triparnakar5836 When it comes to computational speed , only elemental attributes are to be considered. use array.nbytes to check how much memory the elements occupy. Getsizeof isn't the right method to check size of ndarray
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
Hello sir, I've installed numpy in cmd and then I test running it in python idle and it's work, but why when I tried to run it in pycharm it's not work and always error. It's said that "no module named numpy" why ?
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
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
error importing mysqldb....m using python 3.7..module working in cmd prompt but not in jupytor notebook..i have tried all possible like MySqldb..........sql.connector..all experts are failed to help me..can u solve. im tryong to connect with mysql database using python.. success to installing..but failed to import in jupytor anaconda..
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 file.....Any suggestions would be appreciated
Sir, I am new to numpy just finished my Python, and came here to learn numpy. But sir from this video i'm not able to learn because you have maked this for working professionals not for begineers.
yes, when running Python code in PyCharm, it typically uses the Python interpreter installed on your system. So, if you're running your Python code within PyCharm on a 32-bit system, integers will likely default to 4 bytes. On a 64-bit system, integers will typically default to 8 bytes.
Hey! I tried traversing through both python list and numpy array using for loop and i found a surprising result! Numpy array took more time than Array list !!! Can anyone explain why?
Every time when I run this code in Jupyter Notebook. I am getting 28. #My Code import sys sys.getsizeof(6) Output: 28 How it's possible? Each object size has 14 bytes, and here i am getting 28. Can you please tell me how to fix it or whats wrong in it.
Sir! I am a real fan of you but I feel that being a super expert you sometimes can't come down to a beginner's level to consider his/her issues. In the starting of Numpy who can understand where and how to get pip installed.
In case you have your dataset and you wants to import it via pandas or numpy using import function, do you need to save your data into numpy library or? If yes how do you do this? I have a dataset from internet Im trying to practice to manipulate the data using numpy import function, but it tells me file error. Im suggesting that maybe i need to save the file in the desktop and if i go to python and use import function it doesn't work.. Please i need explanation how to solve this... You may reach me via email kamasbah@gmail.com Your aid is highly needed thank you. Im thinking how do i need to save the file for it to be recognise as by numpy import function.
U r good. Just one advice. Don't concentrate on your pronunciation. Speak the way you do. English is just a language...like any other language. We don't really have to overdo it.
Do you want to learn technology from me? Check codebasics.io/ for my affordable video courses.
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
No one has disliked actually :)
Thank you... For the best introduction to numpy.....
Hope u teach us more abt numpy in upcomng tutorials......
Good video, by the way, many people in Europe and NA say 'num-PIE' ☺
i have never heard anyone say it the way he says it
Step by step roadmap to learn data science in 6 months: th-cam.com/video/H4YcqULY1-Q/w-d-xo.html
Learn data science with pandas: th-cam.com/video/CmorAWRsCAw/w-d-xo.html
Machine learning tutorials with exercises:
th-cam.com/video/gmvvaobm7eQ/w-d-xo.html
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
👍👍👍
You are an Angel, Sir
Love your content
Glad it was helpful!
best numpy intro ever! thanks!
How is " L= range(1000)" making a list ?
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 = 1000000
python list took: 0.008821487426757812
numpy took: 2.1543502807617188
Ah nevermind had a small typo in my result = [(x+y) for x, y in zip(l1,l2)] line of code lol.
Results make more sense now
python list took: 101.22132301330566
numpy took: 11.317014694213867
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.
if 64 bit, then maybe 4 bytes would be 8 bytes but I think half the word would be unused.
Clearly explained- Thaks!
6:41 what does zip mean ? Pls provide explanations for each and everything you write.
It is used to loop over 2 collection.
Nice and clear demo, thanks
If error come attributes not found or array not defined something. .... Then go to windows type numpy.py then enter tha path file and then form there change to name of numpy to anything..like program,file,nummy. Anything you like. Then again run the same code
You make the best intro videos ever!
Straight to the point
Thank you for explaining it so simple way.....
Nice video... But how did you assigned list in integer??
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?
codebasics but, here, for a single item, array object seems to have a bigger size (100), than that of list (72)
@@triparnakar5836 When it comes to computational speed , only elemental attributes are to be considered. use array.nbytes to check how much memory the elements occupy. Getsizeof isn't the right method to check size of ndarray
Interesting, I got a different result. Numpy took 22.5 ms and straight Python (3.6) took 0.5 ms for n = 1000.
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
Good explanation
Sir you are great 🙏🙏
Hello sir, I've installed numpy in cmd and then I test running it in python idle and it's work, but why when I tried to run it in pycharm it's not work and always error. It's said that "no module named numpy" why ?
u need to install the package on pycharm
go to files>>settings>>choose your program>>pip>>search for numpy>>install packages
@@kavishsanganeria2981 thanks, it was really help me
@@anharkarimmahyudin8108 what was kavish's reply?
@@areejbasudan4732 sorry, i forget what he said cuz he deleted his reply
(I have Python 3.5.2 installed in Ubuntu 16.04.5)
For the above code, why I'm getting the following output rather than (14000 & 4000):
24000
8000
Byte size of elements varies with Operating system
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
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
great tutorial!
What is the reason of putting 5 in braces for sys.getsizeof() for list only?
For array why you did not use same thing?
well done, brief and spotted to the point!
error importing mysqldb....m using python 3.7..module working in cmd prompt but not in jupytor notebook..i have tried all possible like MySqldb..........sql.connector..all experts are failed to help me..can u solve. im tryong to connect with mysql database using python..
success to installing..but failed to import in jupytor anaconda..
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 file.....Any suggestions would be appreciated
Great series....
why do i get print(sys.getsizeof(5)) - 28 ??
great videos man.....just i suggestion its pronounced as "num + pie" = numpy although numpiY is catchy
Quality content
😊👍
good introduction. Thanks!
Please tell the order in which we need to study python from your channel
Sir, I am new to numpy just finished my Python, and came here to learn numpy.
But sir from this video i'm not able to learn because you have maked this for working professionals not for begineers.
Dope! Thanks for making things clear
Hi. I will soontbstart data analyst tutorial on udecity. They want numpy as prerequisite. Will these 4 tutorial be sufficient to start the course ??
In my comp the size diff is 28vs8 instead of 14vs4. Is this because of 32bit and 64bit sys?
yes, when running Python code in PyCharm, it typically uses the Python interpreter installed on your system. So, if you're running your Python code within PyCharm on a 32-bit system, integers will likely default to 4 bytes. On a 64-bit system, integers will typically default to 8 bytes.
Can you please make a full data science course according to sequence???
On TH-cam search for "codebasics data science", you will find my videos please watch it
Hey! I tried traversing through both python list and numpy array using for loop and i found a surprising result!
Numpy array took more time than Array list !!!
Can anyone explain why?
plz sie upload videos on scipy and scikitlearn
ok thanx and os module as well and also tell us which type of project we can make on python im beginer i dont have any idea
hi, i dont have mingw on my computer, how do i use " $ pip install numpy " in this case?
thanks for you reply, im not very familiar with the command prompt. to make this work, i had to drop the $-sign and just type "pip install numpy"
pip install numpy
^
SyntaxError: invalid syntax can anyone help pls
kya ye complet tutorial he numpy ka? can u uplode veidos on matrix in numpy
Every time when I run this code in Jupyter Notebook. I am getting 28.
#My Code
import sys
sys.getsizeof(6)
Output: 28
How it's possible? Each object size has 14 bytes, and here i am getting 28.
Can you please tell me how to fix it or whats wrong in it.
Did you figure it out yet ? I have same problem, plz lemme knkow. thanks.
Nice video.
Thank you sir
What if I write:
print(sys.getsizeof(1000)*len(array))
Awesome
is numpy only for python 2.7 or also for python 3.5?
Nice video. I just would like to know are these 4 videos enough for numpy? because I want a job in Python so I have to learn in deep. Thank you.
Thank you so much for taking out time and replying. I see your videos daily after reaching home from work. Your videos are awesome.
why only my numpy array taking more time than python list, rest everything is same
a = np.arange(1000).
print (a.itemsize * a.size)
I get 8000. (8 bites) can you please explain this?
@@codebasics I've a 64 bit m/c. It is showing 4 bytes as size of numpy array & 28 bytes as size of python list object. can u plz explain why so ?
you have to correct your spelling it's convenient not convinient....
SleepyVoice NOBODY CARES DUDE
Your comment is a run-on sentence. There should be a period or a semicolon after your use of the the world "spelling".
john mass
sorry deleted
Problem ....
.Load attributes is not defined
Sir! I am a real fan of you but I feel that being a super expert you sometimes can't come down to a beginner's level to consider his/her issues. In the starting of Numpy who can understand where and how to get pip installed.
nice viedo
thanks
Ok , Why does python lists exist then ?
In case you have your dataset and you wants to import it via pandas or numpy using import function, do you need to save your data into numpy library or? If yes how do you do this?
I have a dataset from internet Im trying to practice to manipulate the data using numpy import function, but it tells me file error. Im suggesting that maybe i need to save the file in the desktop and if i go to python and use import function it doesn't work.. Please i need explanation how to solve this...
You may reach me via email kamasbah@gmail.com
Your aid is highly needed thank you.
Im thinking how do i need to save the file for it to be recognise as by numpy import function.
Int object is not Iterable
U r good. Just one advice. Don't concentrate on your pronunciation. Speak the way you do. English is just a language...like any other language. We don't really have to overdo it.
Sir It Is Not Clear
U have a kashmiri accent..... Anyways good tutorial
Indian accent not kashmiri
what is num PUY?
Your keyboard is so loud
I dont know anything about coding and all
No issues. Just start with my python. Tutorials playlist. It is designed for beginners just like you
Idk watching your video seems like just looking someone who knows how to code nothing else .
No jupyter notebook in this 🥲