Numpy is a powerful library for array processing in Python, important for data analysis and exploration. 03:12 ✦ Convert a list into a NumPy array using np.array() function 06:24 ✦ Numpy arrays can be combined to form multi-dimensional arrays 09:36 ✦ Indexing in Numpy arrays allows for selecting specific elements or ranges of elements. 12:48 ✦ Explaining how to access specific rows and columns in a numpy array 16:00 ✦ Pick up specific values from a numpy array using row and column indices. 19:12 ✦ Creating and reshaping arrays in NumPy 22:24 ✦ Numpy array can be initialized with zeros, random numbers, or from a normal distribution. 25:36
TO retrive first column and last colum arr1[0:] to retrive all the rows then arr1[0:,[0,4]] here [0,4]] 0 indicates that i am taking first column and 4 indicate that i am taking last column i can also retrive that by simply writing [0,-1] if i dont know the last column index number
I was learning from your videos which you have uploaded 3 years ago but this playlist is more properly explained and arranged.
Thank you Krish Bhai...
16:29
To retrieve 1st and last column.
arr[:,[0,-1]].
[:, to select all rows
[0,-1] to select 0th and last column.
Numpy is a powerful library for array processing in Python, important for data analysis and exploration.
03:12
✦
Convert a list into a NumPy array using np.array() function
06:24
✦
Numpy arrays can be combined to form multi-dimensional arrays
09:36
✦
Indexing in Numpy arrays allows for selecting specific elements or ranges of elements.
12:48
✦
Explaining how to access specific rows and columns in a numpy array
16:00
✦
Pick up specific values from a numpy array using row and column indices.
19:12
✦
Creating and reshaping arrays in NumPy
22:24
✦
Numpy array can be initialized with zeros, random numbers, or from a normal distribution.
25:36
AlhamduLillah sir aapjo padhate ho sidhe dimag or dill me fixed ho jatahai ❤
chal nikal
Thank you 😊 sir 🙏 your teaching way is amazing
Thank you Krish Sir for this wonderfull class
Thank you, sir for such an informative video, I'm learning from your videos.
The answer would be arr1[:, ::4].
very nicely explained sir,thanks.
Best platform for learning 👏🏻
thank you. so far the best video
Thank you for all the learning videos...
Thank you so much for this video
nice video sir ji
Krish thank for all the good work. Kindly upload more SQL videos
16:33, Here is my code to achive the first and last coloumn elements
arr1[:,::arr1.shape[-1]-1]
OR simply
x[:,::4]
TO retrive first column and last colum
arr1[0:]
to retrive all the rows then
arr1[0:,[0,4]]
here [0,4]] 0 indicates that i am taking first column and 4 indicate that i am taking last column i can also retrive that by simply writing [0,-1] if i dont know the last column index number
Dear Sir, Aap likhne (pencil) ke lie konsa software use kie?
Sir please make a hindi vedio for flask
your all vedios are very helpful
thank you sir, for making tutorial in hindi
The Ans: arr1[:,::3]
bro last mei 4 aayega
more usefull lecture sir ji
Hi sir...how can I activate this help popup at 3:34 which provides syntax and more information?
Shift + Tab
Retrieve first and last column data arr1[ : , [0, -1] ]
Good code appreciation - please explain more
very nicely explained !!
l1=[1,2,3,4,5]
l2=[2,3,4,5,6]
l3=[3,4,5,6,7]
arr2=np.array([l1,l2,l3])
arr2
arr2[0:,0::4]
sir, please create a playlist of MLOPS also.
16:30 assignment code:
arr1[:,::4]
so for rows counting starts from 0
but for column it starts for 1??
no, index wise both starts from 0
arr1[: , [0,4]] is answer for fetching first and last column
Bhai explain
how to extract first and last row. thank u
@@pankajjoshi8292 No problem 😊
Thanks
Thanks sir ❤
what is the use of creating these arrays??
Very nice
Please make video on other library
Studying before exam! 😌😂
Please upload SQL video sir
answer of question at 16:44 is :
arr1[ 0 : , : : 4]
bro how?
Everyone is saying this answer but I am getting error.
can you provide me full code ?
to fetch 1st and last column
arr1[:,::4],
output:
array([[1, 5],
[2, 6],
[3, 7]])
Sir numpy ki playlist nhi hai kya
Krish Naik OP
Make a video on functions..
Sir , can you make data mining playlist in hindi
Answer for select first and last column is = df [["c1","c4"]]
impressed
print(arr1[:,[0,-1]]) also will work
Hi @Kirsh sir, answer for the assignment is arr1[:,::4]. Can you pleas confirm?
Aree(array) sir ty
assignment Time -16:00 arr[:,0::3]
thanks
arr1[:,::4] Assignment done
Bro can you explain
Numpy sikhne bas ek video kafi hai sir?
3d dimension batao kaise banaye
print(array[:, ::-4])
13:00
The Answer of the homework:
**Method 1**
my_arr_1[0:,[0,4]]
**Method 2**
my_arr_1[0:,[0,-1]]
SQL video in Hindi
Arr1[:,::4] and Arr1[:,[0,4]]
print(arr[:,0::4])
Assignment = arr1[:,: :4].
Hi sir
Answer: [ : , :: -4]
For data science
#Assignment
arr1[:,::4]
arr1[0:,::4] answer
Print(arr1[0:,::3])
no offence but gate smasher explained this topic better
ANS: arr1[:,::4]
another way
arr1[:,(0,4)]
array[:,::4]
16.35
arr1[ : , : : 3]
arr1[0:3,::4]
arr [ :, 0:5:4]
∞
Itne data science ke gyani bante ho pr ye array me homogeneous values pe example de ke smjaya bhi nhi barbat 25 min ka video
Tumne kaha se kara bhai 👀
Thanks