numpy tutorial: iterate numpy array using nditer | numpy nditer

  Рет қаралды 92,600

codebasics

codebasics

Күн бұрын

Пікірлер: 83
@codebasics
@codebasics 2 жыл бұрын
Do you want to learn python from me with a lot of interactive quizzes, and exercises? Here is my project-based python learning course: codebasics.io/courses/python-for-beginner-and-intermediate-learners
@ramanak6961
@ramanak6961 4 жыл бұрын
Your tutorials are Huge asset for the beginners and we are looking forward for more......and your style of mentoring is awesome. Great Job.
@codebasics
@codebasics 4 жыл бұрын
Ramana I am glad 😊
@ahmedhelal920
@ahmedhelal920 3 жыл бұрын
for the first example , we can use for row in a.flat: print(row) 0 1 2 3 4 5 6 7 8 9 10 11 learned from you on last tutorial 🥰
@deepthapa5957
@deepthapa5957 3 жыл бұрын
Cant thank you enough sir, really you are doing great job help others for free ,thats very rare nowadays, glad to see persons like you ,it make me to believe that humanity still exists.
@codebasics
@codebasics 3 жыл бұрын
👍😊
@notanengineer69
@notanengineer69 4 ай бұрын
finally finished the python tutorial, thanks for the easy explanations. im looking forward to the data structures and algorithms tutorial now
@AbhijeetKumar-qu4lm
@AbhijeetKumar-qu4lm 6 жыл бұрын
Amazing way of teaching 😍😍 Thanku so much for this all
@shrutijain1628
@shrutijain1628 4 жыл бұрын
Best numpy tutorial 💯
@tanoychowdhury6375
@tanoychowdhury6375 6 жыл бұрын
Make more videos on numpy to cover all functions....... your tutorials are really helpful for a beginner.❤
@DiverseDestinationsDiaries
@DiverseDestinationsDiaries 4 жыл бұрын
Really , it's amazing . the way you're explaining every concept from fundamentals for beginners.
@codebasics
@codebasics 4 жыл бұрын
Glad to hear that
@purplecrayon7281
@purplecrayon7281 3 жыл бұрын
I understand how using numpy is superior than using lists, but the weakness of numpy seems to be that the shapes of arrays are so important. I would need to make sure that the data need to be made "rectangular/squarish" first by using a calculator (Yes, I'm aware you can make the calculations first using Python).
@victorlourenco_
@victorlourenco_ 6 жыл бұрын
you are amazing, love the effort you put into your videos
@SulemanTheTraveller
@SulemanTheTraveller 3 жыл бұрын
it's really interesting, just done it with practice
@dineshkumar-dg9ml
@dineshkumar-dg9ml 3 жыл бұрын
Completed your Numpy playlist. Wonderful. Easy understandable. Please advise if this is enough. Please post more videos eagerly waiting
@kenoalbatros
@kenoalbatros 2 жыл бұрын
This tutorial was very well explained, thank you!
@InformativeVideos423
@InformativeVideos423 6 жыл бұрын
Excellent teaching. Superb!!!! Please also do videos on Tensorflow machine learning. I want to save a trained Tensorflow model and then later use it in some another program. How can I do it? help me please
@vamsisaggurthi5528
@vamsisaggurthi5528 6 жыл бұрын
Sir can you please provide information on django framework
@ManishSharma-wy2py
@ManishSharma-wy2py 4 жыл бұрын
You are great sir , your videos are amazing and awesome way of teaching .
@codebasics
@codebasics 4 жыл бұрын
😊👍🤓
@narayanamt9534
@narayanamt9534 5 жыл бұрын
well covered. very helpful. Thank you very much
@jinkaleo
@jinkaleo 6 жыл бұрын
straight to the basics....
@OmkarShelke-w2j
@OmkarShelke-w2j Жыл бұрын
this tutorial is amazing
@Muhammad.Kashif31
@Muhammad.Kashif31 Жыл бұрын
Great effort Sir
@s.baskaravishnu22
@s.baskaravishnu22 2 жыл бұрын
Many thanks for giving code
@agenesis6761
@agenesis6761 6 жыл бұрын
I have a specific question about Data frame (i went through your GitHub) library and could not find answer. How to reach you for some more clues on problem around iterating through dataframes and calculating values in 3 dimensional dataframe?
@surewin3006
@surewin3006 3 жыл бұрын
Good tutorials and very helpful. I just completed this whole Python3 programming for beginners. What is your recommendation that i should take next?
@nikhiljain8411
@nikhiljain8411 5 жыл бұрын
Could you please create a video for scikit-learn as well
@codebasics
@codebasics 5 жыл бұрын
Nikhil I have an entire series on machine leart using scikit-learn. Plz check that playlist on my channel
@johnjohn-nv9wb
@johnjohn-nv9wb 3 жыл бұрын
Good day codebasics,i wanted to ask you,if this video is the complete course for professionals on python or just for beginners course only? if not can you send me the link to a more advanced course on python, please?
@hichemhadji348
@hichemhadji348 4 жыл бұрын
Hi, please I have a question, you said that the iteration through 2 arrays simultaneously is possible if the arrays have the same shape or if one of the dimentions in one of the arrays is 1 . but it turns out that you have changed the dimentions of the array b of your example from (3,1) to a (4,1) but you had an error although we still have one as dimention greetings from France, your videos are awesome
@hichemhadji348
@hichemhadji348 4 жыл бұрын
I think that the best answer would be ( if the shapes are equal) or if at least one of the 2 dimentions are equal in both arrays while the other dimention of one of the 2 arrays is equal to 1. please let me know
@mohammadal-antary9321
@mohammadal-antary9321 3 жыл бұрын
@@hichemhadji348 I do agree with you
@bhupendrasai4640
@bhupendrasai4640 Жыл бұрын
Tq @@hichemhadji348
@goodester6924
@goodester6924 6 жыл бұрын
thanks for the tutorials!
@inspirational_talkings2099
@inspirational_talkings2099 6 жыл бұрын
Sir can you upload Scipy tutorial videos ??? It would be very much helpful for me....plz sir...... expect a kind reply from you.....
@inspirational_talkings2099
@inspirational_talkings2099 6 жыл бұрын
Okkk sir.... thank you sir....!!!
@rhard007
@rhard007 6 жыл бұрын
Hi could you upload a video that explains how the numpy class as_strided works ? I have been stuck on this and haven't been able to find a good descriptions anywhere. Thanks.
@tejaschaudhari3259
@tejaschaudhari3259 4 жыл бұрын
sir can you please provide links for all quries you teach in lectures. i mean each and every. please
@ravibatta8921
@ravibatta8921 3 жыл бұрын
nice one
@mariolinovalencia7776
@mariolinovalencia7776 6 жыл бұрын
Your videos are great
@roninababan1239
@roninababan1239 Жыл бұрын
use zip() function for x,y in zip(a,b): print(x,y)
@shankarsalesforceseries5196
@shankarsalesforceseries5196 5 жыл бұрын
Thank you. Good tutorial.
@mwahmed9519
@mwahmed9519 4 жыл бұрын
Can you make a/some video on AWS ..
@birendrakumar-gl5gq
@birendrakumar-gl5gq 3 жыл бұрын
Where to go from here?
@Imran20091990
@Imran20091990 2 жыл бұрын
Excellent
@its_kumar
@its_kumar 4 жыл бұрын
Great video 👍
@codebasics
@codebasics 4 жыл бұрын
Glad you enjoyed it
@rahuljacob4694
@rahuljacob4694 4 жыл бұрын
Sir , should i do Data Structures and algorithms or Data Science with Pandas first?
@codebasics
@codebasics 4 жыл бұрын
depends on your goal. if you want to become python software engineer than go for data structures etc. if you target data scientist field then do data science with pandas
@rahuljacob4694
@rahuljacob4694 4 жыл бұрын
@@codebasics Ok Sir Thank you
@ravisonawane6381
@ravisonawane6381 6 жыл бұрын
Thank You sir...
@mehandiyanaaditya
@mehandiyanaaditya Жыл бұрын
thank you sir
@cantanzim6215
@cantanzim6215 5 жыл бұрын
grate videos..... thanks
@codebasics
@codebasics 5 жыл бұрын
Can Tanzim, I am happy this was helpful to you
@tsietsimatjele5459
@tsietsimatjele5459 6 жыл бұрын
Awesome......
@ParthivDesaii
@ParthivDesaii 5 жыл бұрын
It would be great if you show how to do iteration (for loop ) without using modules and built-it python functions, instead by applying logical and arithmetic ways.
@chiliverupavankalyan5051
@chiliverupavankalyan5051 11 ай бұрын
Thankyou
@okenlaqahhar4879
@okenlaqahhar4879 Ай бұрын
I mean you just transpose the array and then square each value in the array via vectorized operations. The nditer seems to be extra.
@maidishahoon
@maidishahoon Жыл бұрын
is this enough ???
@ankitkumarsingh3717
@ankitkumarsingh3717 6 жыл бұрын
Can you provide link to website where i can practice numpy?
@lakshsinghania
@lakshsinghania Жыл бұрын
made with ML lol im replying 4 yrs late
@selvakd7103
@selvakd7103 7 жыл бұрын
Hi I saw your tutorial videos its really useful for me . while I am working on numpy i have stuck with one point. i.e., jagged array concept. Is it possible to bring jagged array in numpy ?
@luiscarlospinheiromarques9258
@luiscarlospinheiromarques9258 6 жыл бұрын
great !! very helpfull video!!
@sabariedits
@sabariedits 5 ай бұрын
Is this enough because you don't teach random in numpy?
@khanduom9341
@khanduom9341 6 жыл бұрын
sir, the videos are really help. I have a query regarding reshaping of arrays. For example, if we have input shape of (144,1), we can easily reshape the array by assuming (12x 12 =144 matrix) and then reshape it as x = np.arange (144).reshape (1,12,12). Now my question is : how do we reshape the array if we have input shape of (1048572,1). Please help. ..Thanks
@bhupendrasai4640
@bhupendrasai4640 Жыл бұрын
I think 1024*1024
@instantlearning3003
@instantlearning3003 3 жыл бұрын
sir I just want to ask that this tutorial is enough for data science.?
@parveznadvi007
@parveznadvi007 3 жыл бұрын
Hi Deepak, I would say that the information provided in this series is sufficient to start your projects using numpy. While you are working on your project, based on the application, you will come up with algorithms in which you will use multiple numpy functions to work with. At that time you will know that the numpy docs and stack over flow will be your best friends to know more about the functionalities and how you can utilize them to complete your project. Hope this answers your question.
@hunting5.gammers417
@hunting5.gammers417 Жыл бұрын
@@parveznadvi007 she did not ask you..
@hunting5.gammers417
@hunting5.gammers417 Жыл бұрын
mind your own business....
@hunting5.gammers417
@hunting5.gammers417 Жыл бұрын
rascle
@sauryadeeppal8873
@sauryadeeppal8873 5 жыл бұрын
If i have an array a = np.arange(9).reshape(3, 3) and I define a function such that: def iter_by_row(array): for x in np.nditer(array, order='F'): print(x) But when I do this: print(iter_by_row(a)) My output is: 0 3 6 1 4 7 2 5 8 None Why is the None being printed? Is this normal?
@gajulanagamani8312
@gajulanagamani8312 3 жыл бұрын
array=np.arange(9).reshape(3,3) def iter_by_row(array): for x in np.nditer(array, order='F'): print(x) iter_by_row(array) try this one you cannot get none .function already print values but again you call print function for call the iter_by_row(array)
@al-amin5542
@al-amin5542 6 жыл бұрын
thank you
@karthickkumar4941
@karthickkumar4941 7 жыл бұрын
thank u so much
@vamsisaggurthi5528
@vamsisaggurthi5528 6 жыл бұрын
Good
@jeanrodrigues6249
@jeanrodrigues6249 2 жыл бұрын
Ramana
@gangulreddy7918
@gangulreddy7918 5 жыл бұрын
Helpful a lot, thanks much
@codebasics
@codebasics 5 жыл бұрын
😊😊😊🙏👍
@thirumala_reddy
@thirumala_reddy 4 жыл бұрын
Thank u....
numpy tutorial - basic array operations
13:48
codebasics
Рет қаралды 263 М.
Ultimate Guide to NumPy Arrays - VERY DETAILED TUTORIAL for beginners!
24:23
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 34 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 28 МЛН
Learn NUMPY in 5 minutes - BEST Python Library!
13:38
Python Programmer
Рет қаралды 883 М.
Python NumPy Tutorial for Beginners #9 - Joining and Splitting Arrays
14:05
Code of the Future
Рет қаралды 2,9 М.
Python NumPy Tutorial for Beginners
58:10
freeCodeCamp.org
Рет қаралды 1,6 МЛН
How I animate 3Blue1Brown | A Manim demo with Ben Sparks
53:41
3Blue1Brown
Рет қаралды 1,1 МЛН
Machine Learning Tutorial Python 12 - K Fold Cross Validation
25:20
NumPy vs SciPy
7:56
IBM Technology
Рет қаралды 44 М.
Iterating Through Numpy Arrays - Numpy For Machine Learning 6
9:01
Python Pandas Tutorial 8. Concat Dataframes
15:14
codebasics
Рет қаралды 210 М.