Array Manipulation | Insert and Delete Function | NumPy Tutorials | Python Programming
Вставка
- Опубліковано 4 лип 2024
- In this Python Programming video tutorial you will learn about array manipulation in detail. Here We will discuss how to insert or delete or append elements to given array in detail.
NumPy is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.
Here we will discuss about insert append and delete function in detail.
#numpy #Python
For more free tutorials on computer programming
/ amulsacademy
/ amulsacademy
The best python tutorials that I've ever seen in UA-cam.. 200+ videos.. Love u mam.. Loads of love from Hyderabad.. I'm currently in 3rd year.. Ur videos are very helpful for our campus placements.. kindly make some important coding questions from C n data structures also that will b very helpful for our placements
Thank you :)
Your tutorial and your clear explanation is easy to understand.It's really helpful me to study python programming
Thank you :)
This is one of the best tutorials I have ever had on programming language. I have been diligently following the playlist although I can't seem to find the ones on Scipy and Panda....that were mentioned earlier at the introduction.
My dear, you are good, the bets actually... I give it to you.
The voice is synonymous with the lady that taught In touch wonderware SCADA programming on instrumentation tools.
Are you the same person pls?
Thank you so much 😊
Yes playlist is incomplete. After completing matplotlib I will start acing and pandas.
And for the last question : No 😊❤️
Awesome video! Thank you!
Make a video on different types of sorting... It's there in ncert syllabus class 11..
Sorting Algorithms:
ua-cam.com/video/OlyYEW7mTUM/v-deo.html
Very well explained
Thank you :)
Hi, if I have array:
a=[1,2,3]
b=[7,8,9]
I want to get new array c=[1,7,2,8,3,9], which is alternating arrangement between a and b. How to use np.insert on that case?
Try concatenation 😊
I want to insert value in original array through insert() method , how to do that?
You can store the returned result into original array, for example if we have array a
a = numpy .insert()
Teach data structures madam
mam...can u teach pandas....as soon as possible.
Will try :)
I dont get the axis how does it work ?
sweet voice. why cant we use concat instead of append and vstack and all?
Concatenate ? You can try 😊
@@AmulsAcademy you saved me in numpy. Next put lots of videos of q and a
Please explain to me in bellow code: "np.s_[::2]" what it means.
x= np.array([[1,2,3,4], [5,6,7,8], [9,10,11,12]])
np.delete(x, np.s_[::2], 1)
Output: array([[ 2, 4],
[ 6, 8],
[10, 12]])
that is used for slicing :)
what is flaten array?
1 dimensional array :)
Does axis =0 indicate rows and axis = 1 indicate columns mam?
Yes sindhu. Axis 0 means rows and Axis 1 means column. However in a 1 D array there will only be one axis which is 0. So in one D array, axis = 0
@@sujitsingh7279 Thank you.
if an array is [1,1,2,2,2,2,5,5,5,5,7,7,7,7,7] how to delete the 5s together?
besides using the index. assum the array is very big and there is many values in between so that it is not possible to count the index.
from numpy import *
a = array([1,1,2,2,2,2,5,5,5,5,7,7,7,7,7])
for i in [5,5,5,5,5]:
a= delete(a,i)
print(a) by this way we can delete all the 5s
in my case import numpy does not work
😋😋😋
1
11
121
1331
14641
15 10 10 5 1.......and so on
Please solve this