numpy tutorial: iterate numpy array using nditer | numpy nditer

numpy tutorial: iterate numpy array using nditer | numpy nditer

codebasics

7 лет назад

97,305 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@mhnayeem01
@mhnayeem01 - 11.05.2025 15:02

watched now

Ответить
@okenlaqahhar4879
@okenlaqahhar4879 - 14.11.2024 14:33

I mean you just transpose the array and then square each value in the array via vectorized operations. The nditer seems to be extra.

Ответить
@notanengineer69
@notanengineer69 - 13.08.2024 19:29

finally finished the python tutorial, thanks for the easy explanations. im looking forward to the data structures and algorithms tutorial now

Ответить
@sabariedits
@sabariedits - 27.06.2024 12:50

Is this enough because you don't teach random in numpy?

Ответить
@chiliverupavankalyan5051
@chiliverupavankalyan5051 - 27.12.2023 07:18

Thankyou

Ответить
@Muhammad.Kashif31
@Muhammad.Kashif31 - 10.12.2023 15:21

Great effort Sir

Ответить
@OmkarShelke-w2j
@OmkarShelke-w2j - 27.11.2023 18:43

this tutorial is amazing

Ответить
@mehandiyanaaditya
@mehandiyanaaditya - 11.11.2023 12:09

thank you sir

Ответить
@maidishahoon
@maidishahoon - 12.10.2023 23:04

is this enough ???

Ответить
@roninababan1239
@roninababan1239 - 05.06.2023 18:38

use zip() function

for x,y in zip(a,b):
print(x,y)

Ответить
@Imran20091990
@Imran20091990 - 08.04.2022 23:56

Excellent

Ответить
@jeanrodrigues6249
@jeanrodrigues6249 - 10.02.2022 00:36

Ramana

Ответить
@s.baskaravishnu22
@s.baskaravishnu22 - 08.02.2022 17:44

Many thanks for giving code

Ответить
@kenoalbatros
@kenoalbatros - 11.01.2022 13:27

This tutorial was very well explained, thank you!

Ответить
@SulemanTheTraveller
@SulemanTheTraveller - 17.10.2021 07:31

it's really interesting, just done it with practice

Ответить
@muhammadhamza7033
@muhammadhamza7033 - 11.08.2021 22:11

how to use nditer() for iterating element-wise over an unequal nd array e-g: [ [1,2,3], [3,4], [4] ]

Ответить
@johnjohn-nv9wb
@johnjohn-nv9wb - 29.07.2021 09:01

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?

Ответить
@purplecrayon7281
@purplecrayon7281 - 10.07.2021 11:40

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).

Ответить
@dineshkumar-dg9ml
@dineshkumar-dg9ml - 27.06.2021 19:35

Completed your Numpy playlist. Wonderful. Easy understandable. Please advise if this is enough. Please post more videos eagerly waiting

Ответить
@surewin3006
@surewin3006 - 23.06.2021 11:23

Good tutorials and very helpful. I just completed this whole Python3 programming for beginners.
What is your recommendation that i should take next?

Ответить
@instantlearning3003
@instantlearning3003 - 24.05.2021 08:31

sir I just want to ask that this tutorial is enough for data science.?

Ответить
@deepthapa5957
@deepthapa5957 - 06.05.2021 12:35

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.

Ответить
@ravibatta8921
@ravibatta8921 - 22.02.2021 06:52

nice one

Ответить
@birendrakumar-gl5gq
@birendrakumar-gl5gq - 13.02.2021 00:58

Where to go from here?

Ответить
@DiverseDestinationsDiaries
@DiverseDestinationsDiaries - 03.01.2021 16:42

Really , it's amazing . the way you're explaining every concept from fundamentals for beginners.

Ответить
@hichemhadji348
@hichemhadji348 - 03.12.2020 13:46

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

Ответить
@rahuljacob4694
@rahuljacob4694 - 03.12.2020 12:57

Sir , should i do Data Structures and algorithms or Data Science with Pandas first?

Ответить
@shrutijain1628
@shrutijain1628 - 21.11.2020 20:27

Best numpy tutorial 💯

Ответить
@mwahmed9519
@mwahmed9519 - 13.11.2020 14:05

Can you make a/some video on AWS ..

Ответить
@its_kumar
@its_kumar - 16.09.2020 14:08

Great video 👍

Ответить
@TejasChaudhari22
@TejasChaudhari22 - 11.06.2020 00:15

sir can you please provide links for all quries you teach in lectures. i mean each and every. please

Ответить
@ramanak6961
@ramanak6961 - 26.02.2020 20:26

Your tutorials are Huge asset for the beginners and we are looking forward for more......and your style of mentoring is awesome. Great Job.

Ответить
@ManishSharma-wy2py
@ManishSharma-wy2py - 16.02.2020 11:23

You are great sir , your videos are amazing and awesome way of teaching .

Ответить
@thirumala_reddy
@thirumala_reddy - 06.02.2020 19:22

Thank u....

Ответить
@cantanzim6215
@cantanzim6215 - 10.12.2019 18:05

grate videos..... thanks

Ответить
@gangulreddy7918
@gangulreddy7918 - 25.09.2019 18:47

Helpful a lot, thanks much

Ответить
@ParthivDesaii
@ParthivDesaii - 24.07.2019 09:10

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.

Ответить
@shankarsalesforceseries5196
@shankarsalesforceseries5196 - 30.04.2019 19:52

Thank you. Good tutorial.

Ответить
@nikhiljain8411
@nikhiljain8411 - 28.04.2019 21:08

Could you please create a video for scikit-learn as well

Ответить
@narayanamt9534
@narayanamt9534 - 12.02.2019 18:46

well covered. very helpful. Thank you very much

Ответить
@sauryadeeppal8873
@sauryadeeppal8873 - 21.01.2019 17:17

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?

Ответить
@vamsisaggurthi5528
@vamsisaggurthi5528 - 15.01.2019 20:10

Sir can you please provide information on django framework

Ответить
@vamsisaggurthi5528
@vamsisaggurthi5528 - 15.01.2019 20:04

Good

Ответить
@goodester6924
@goodester6924 - 14.01.2019 16:49

thanks for the tutorials!

Ответить
@agenesis6761
@agenesis6761 - 25.12.2018 06:30

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?

Ответить
@tsietsimatjele5459
@tsietsimatjele5459 - 31.10.2018 03:19

Awesome......

Ответить
@tanoychowdhury6375
@tanoychowdhury6375 - 26.09.2018 18:58

Make more videos on numpy to cover all functions....... your tutorials are really helpful for a beginner.❤

Ответить
@jinkaleo
@jinkaleo - 23.09.2018 14:24

straight to the basics....

Ответить
@AbhijeetKumar-qu4lm
@AbhijeetKumar-qu4lm - 10.09.2018 12:48

Amazing way of teaching 😍😍
Thanku so much for this all

Ответить