How to create 3D array in NumPy Python | Module NumPy Tutorial - Part 04

preview_player
Показать описание
How to create 3D (3 dimensional) array in numpy Python. In this video we will talk about how to create three dimensional arrays in module numpy Python.

==================================
NumPy Module Tutorial Playlist for Machine Learning:
==================================

==================================
Source Code:
==================================
import numpy as np
[2,-3,1],
[2,0,-1],
[1,4,5]
])
print(A.shape)
print(A.ndim)
print("=======================")
[[1,2,3],
[4,5,6]],

[[7,8,9],
[10,11,12]]
])
print(B.shape)
print(B.ndim)
Рекомендации по теме
Комментарии
Автор

Excellent video. I like the explaination of a " a 2d array is a bunch of 1d arrays" and 3d array "is a bunch of 2d arrays"

philipabraham
Автор

I finally understood the 3D array. It was really helpful the way you illustarted it. Really appreciated.

estherpanea
Автор

The way you illustrated it is the best i have come across. Thank you

jonathangodson
Автор

dude I was reading course materials as well as browisng around and your explanation really helps my dumb brain understand it, thank you so much.

AliceShisori
Автор

I couldnt thank you enough to explain 3D arrays. This was so clear that i have no doubts left. People make square brackets and then enter value this was so good and easy to understand. Thank you.

priyaramraj
Автор

I spent 2 hrs on other yt videos understanding 3d and higher arrays but none give as clarity as you did in those 3, 4 minutes. Great stuff:)

sakshimourya
Автор

Appreciation note:
After reading and watching tons of things on 3-D arrays
Finally I got this video which made me clear what it actually is
thank you....

krishshah
Автор

Thank you for this super illustrative explanation! I should check some of your other videos.

MarharytaKalynchuk
Автор

Wow this is short seet and simple...My head was spinning and couldn't visualize how matrixs make 3d arrays

Dpk_YT
Автор

Also i saved this video in my notion. <3

krishshah
Автор

thanks a ton for explaining it so well!

Kabeer
Автор

Most internet contents are useless, man. This video saved my hours. Thanks

Copybook
Автор

It would be easier to understand, if you could talk in coordinates instead of vector (although I understand that vector [2, -3, 1] has certain x, z, y -coordinates). However, when defining a matrix it would be more helpful to give an example of matrix that has 5 cells in x-axis, 4 cells in y-axis and 3 cells in z-axis. When you explain this with vector coordinate system, you are losing about 95% of your audience.

KaijaKFanpages