Numerical Python (Numpy) Library

PythonLife www.youtube.com

Brief Summary

This YouTube video by PythonLife provides a comprehensive introduction to the NumPy library in Python. It covers fundamental concepts such as array creation, dimensions, shapes, data types, and various operations like slicing, copying, and views. The video also touches on statistical functions, trigonometry, stacking, inserting, deleting, and the 'where' function. The session aims to equip viewers with a solid foundation in NumPy for data manipulation and analysis.

  • Introduction to NumPy library in Python
  • Covers array creation, dimensions, shapes, and data types
  • Explains slicing, copying, views, and various array operations
  • Touches on statistical functions, trigonometry, and the 'where' function

Introduction to NumPy

The video starts by outlining the topics covered, including different types of inheritance, polymorphism (method overloading and overriding), access modifiers (public, private, protected), and data abstraction. It also mentions the steps in a machine learning lifecycle: data gathering, preprocessing, visualization, modeling, and deployment. The discussion emphasizes the use of libraries like NumPy and Pandas in these processes.

MPC Students and Matrix Forms

The discussion addresses the audience, particularly MPC (Maths, Physics, Chemistry) students, and their familiarity with matrix forms. It acknowledges that the mathematical nature of NumPy might be challenging for non-math students but encourages them to try. The video prompts viewers to install Anaconda and Jupyter Notebook, referencing previous videos for guidance.

NumPy as a Python Library

NumPy is introduced as a Python library for numerical computing, consisting of multi-dimensional array objects. It's used in various applications, including computer vision, where image data is converted into matrix form for analysis. Real-world applications in NASA and Tesla are mentioned to highlight NumPy's utility in science-oriented research.

Array Fundamentals

The video explains the characteristics of arrays, noting that they store the same data type and offer fast, sequenced storage. It distinguishes arrays from lists, which can store different data types. The discussion covers 2D and 3D arrays, explaining axes (Axis Zero, Axis One, Axis Two) and layers in 3D arrays.

Installing and Using NumPy in Jupyter Notebook

The presenter guides viewers on how to install NumPy and use it within a Jupyter Notebook. The file extension for Jupyter Notebooks, IPYNB (Interactive Python Notebook), is highlighted as important for interviews. The use of VS Code and Google Colab for machine learning tasks is also mentioned. The process of importing NumPy with an alias (e.g., import numpy as np) is explained.

Understanding Dimensions in NumPy Arrays

The video explains how to determine the dimensions of a NumPy array by counting the number of square brackets. It introduces the ndim attribute to check the dimension of an array. Multi-dimensionality is discussed, noting that beyond three dimensions, arrays are generally referred to as multi-dimensional.

Shape of NumPy Arrays

The 'shape' attribute is introduced to determine the dimensions of an array, indicating the number of rows, columns, and layers. The video explains how to use the .shape attribute to find the shape of arrays and clarifies how the shape is represented for zero-dimensional arrays.

Data Types in NumPy

The video discusses data types (D types) in NumPy, such as integers (int32, int16, int64), and how they relate to system bits. It explains how to check the data type of an array using the dtype attribute.

Range Function in NumPy

The range function is discussed in the context of NumPy, relating it to the familiar range function used in for loops (start, stop, skip). The video explains how to generate data within a specified range inside an array.

Notebook Structure and Functions

The structure of Jupyter Notebook is explained, emphasizing that each cell has a connection and functions only if the cell is loaded. The presenter highlights the notebook's utility for learning, research, and documentation, containing information from basic Python to NumPy.

Array Creation Functions: I, Zeros, and Ones

The video introduces functions for creating specific arrays: I (identity matrix), zeros (array of zeros), and ones (array of ones). It explains how to use these functions with different parameters to create matrices of various sizes and data types (e.g., float).

Reshape Function

The reshape function is explained, emphasizing that the original value should match the multiplied values after reshaping. The video demonstrates how to change the dimensions of an array using reshape, providing examples of converting a 1D array into 2D and 3D arrays.

Ravel and Flatten Functions

The video differentiates between the ravel and flatten functions. Ravel is described as an "undo" function, reverting an array to its previous dimension, while flatten always converts an array to one dimension.

Slicing in NumPy Arrays

Slicing is explained as a way to extract specific parts of an array, using start, stop, and skip parameters. The video uses an image analogy to explain how slicing works in multi-dimensional arrays, demonstrating how to select elements based on row and column indices.

Copy vs. View in NumPy

The critical difference between copying and viewing arrays is discussed. Copying creates a new array, so changes to the copy do not affect the original. Viewing, however, does not own the data, and changes to the view will affect the original array, and vice versa.

Array Operations: Boolean Indexing and Transpose

The video covers boolean indexing, where conditions (e.g., a > 3) return True or False, and how to use these conditions to extract data. The transpose operation is explained, where rows become columns and vice versa, using the transpose function.

Stacking Arrays: Hstack and Vstack

The concepts of horizontal stacking (hstack) and vertical stacking (vstack) are introduced. Hstack stacks arrays along columns, while vstack stacks along rows. The video clarifies how these operations affect the dimensions of the resulting arrays.

Insert and Delete Operations

The video demonstrates how to insert and delete elements in NumPy arrays. The insert function adds elements at a specified location, while the delete function removes elements based on their index.

Trigonometry in NumPy

The video briefly mentions the availability of trigonometric functions (sine, cosine, tangent) in NumPy. It notes that while some functions like cotangent are not directly available, they can be computed using other trigonometric functions.

Exponential and Sum Operations

Exponential and summation operations are discussed, including the use of the sum function with the axis parameter to sum along rows or columns.

Statistical Functions: Mean, Median, Mode, and Range

The video explains basic statistical functions: mean (average), median (middle value), mode (most frequent value), and range (difference between smallest and largest values). It provides examples of how to calculate these statistics.

Standard Deviation and Other Statistical Measures

The video briefly mentions standard deviation and other statistical measures available in NumPy. It suggests that a deeper dive into statistics will be covered in future sessions.

The 'Where' Function

The 'where' function is explained, which is used to find the indices of elements that satisfy a given condition. The video provides examples of using 'where' to find elements that meet specific criteria, such as even numbers.

Default Functions and Syntax

The video notes that many functions in NumPy have default behaviors. It encourages viewers to explore the documentation for lists and sets to understand available functions and syntax.

Additional Resources and Conclusion

The presenter recommends referring to the NumPy documentation for more in-depth content. The session concludes by stating that the material covered is sufficient for machine learning engineers and data scientists, and the IPNB file will be shared on Telegram.

Summarize any YouTube video in seconds

Get summaries like this one for any video, in your language, with the free Summ app.

Download on the Apple Store
Get it on Google Play

Transcript

Full transcript of “Numerical Python (Numpy) Library”. Click a timestamp to open the video at that moment. Need another video? Use the YouTube transcript generator.

0:06 Hey, what's the short topic for today? It will be over in one hour. Okay, what is the last topic of discussion? We did it. What was the last topic we discussed? Okay Inheritance is so different. Types of Annamata Single Multi-level inheritance Inheritance multiple Inheritance Hierarchical Inheritance We discussed it later. We discussed polymorphism in which we

0:54 Method overloading Method overriding Also discus We did it when the packest modifiers arrived. Public That is private It's called protect, so these are discussed. What did we discuss after we did it? We Also discuss data abstraction. Okay, we discussed about data. Abstraction So all this is also you Did you practice or did you do it? Practice, so practice all this. Then yesterday we took a few steps Tell me what those steps are. Steps Step One A Step Step One Message Learning Life Cycle Low step

1:41 One step is the first step. Data gathering Okay, step to the bottom. Step to low Data pre-processing Okay, then again in step three. Data visualization In step four Data Deployment in Modeling Step Five We discussed. So you are gathering data normally?

2:29 How can I show you so data is available? We have two uses in processing. Yesterday, the number that was said was Ani and Pandas. So today we are saying that they will be used. When the topic comes up, it's the library on the number. We will discuss it fully. The library is completely OK. Let's discuss, so don't mention the library. How many MPCs are there before? There are students. Intermediate, please type in the comment. In So you are all MPC students too. Has everyone seen this matrix form? Anytime metrics Did you read the forms, okay, metrics?

3:14 Did you see that there are forms in Maths A? There are M M Maths. So the total is also on this number. It's with the metrics so you have a Let me clarify, the total likes will be the same. The total is a little mathematical. The whole thing is mathematical. Those who are not math students It means you will feel a little embarrassed. You should try to do it. Okay, so what do I do now? Has everyone installed Anaconda? Jupyter Note asks to install Anaconda Two videos asking to watch a book video Put Did you see?

4:00 Okay, done, now I'll explain. But I'm doing it, like about our number. Previous Anyone have an idea for a number? Does anyone have an idea for the number above? S on the number Okay, so now let's discuss about the number. Let's do this. Is there a Python library for us? Numpy is a Python library. So, do you remember what a library is? What day did we tell you about the library? About library is a module Anna Package Anna Framework Anna So, all these things that were discussed are also there.

4:47 Pi is a Python library It stands for For numerical Python okena no pi no no What does numerical OK mean? Python Numerical Python So It Is A Library consisting of multiple Multi-dimensional array objects What I mean by dimensional array objects What I mean is that this number is your total. What kind of mathematical functions do you have in Python? Even if you want to do operations, you can do this Numerical Python uses this number. It will be Like you have to believe in one thing, like is like You all know NASA, right? NASA or Tesla, and we still have some

5:36 Like Science Oriented Research They are all oriented, right? Like this number, the library is a good use. What do you use it for? So we have an idea for anyone with computer vision. Is there a computer? Vision So how is this computer vision like? Like an image for an image. But by taking images from satellites They analyze any image. If they want to do it, they should do it first. How to convert metrics like this The data is converted to oriented so All of its calculations are also They have to go further to do it. Most users use Photon. Those who do it now use the number when it comes. Many people are doing it. Okay, class has started, only two.

11:29 There are more building functions here. There are less than one reason and one reason in the array. Another thing is that this is a random store for you. It happens in sequence as it arrives. Another reason is that it becomes a store and Another thing is that this is the same data type. Like this because it's a one-time store. Also like It stores different data types. So they say like array is fast.

14:27 There are many more reasons to mention.

16:40 Accordingly, there are two rows in this 2d array. There are three columns, okay to rose. There are three columns, or 2*3. The Matrix can also say this. We can also say 2*3 matrix so Okay, so we took it that way again, didn't we? Like this Axis Zero is Axis There is one, so can you take it like this? Suppose something x is here y. Imagine something like this, what else is it like? About 3D Array What is a 3D Array? XYZ is what it's supposed to be. Okay, Axis Zero, Axis One. Axis to here again bro, right here You said this is the day, but you said this is the time. There are three here again, what can I say? Bro, when the first one comes, the layers So when this comes, it's called layers.

17:26 Are the layers okay? When this comes, we What do you mean, we call it Rose, when this comes, we What do you mean by time? Okay, let's call this Do you understand what I mean by time? What you're saying is, bro, take a look. If it's like this, is one layer okay? Come like this, come like this, come like this Imagine the third layer coming like this So now, the fourth layer is understandable.

21:43 You can install it like this: It doesn't say that because you have it installed. The number is not in your account. Okay, so that's it, now we're going to install it. We've made it, so let's use it. We should use this in our notebook. What is this called, Jupiter Note? Did you see the video I sent you? It's called Book. I sent a five-minute video. Minutes 10 minutes What is this called, Jupiter Note? It is called a book. What is its extension? That means look at the IP YNB file. The PYNB file means IPY. NB stands for Interactive Python Notebook. Remember, this is a choice to ask. Mostly in the interview Okay, can you use it in VS Code? If you can't use it in Python, this When we are in the machine learning part

22:29 We will do it, Jupiter Golab. We will use it well because these are the users. I PIN Y NB are friendly. The I in the NB file stands for interactive. Pi stands for Python, NB stands for Notebook. The interactive Python notebook is Remember this file extension. It's not PY, okay, it's not PY, I'm PY. NV takes it, okay, I'll do it again. I installed it, how do I use it again? What you need to do is import the above code like this Even if you take as NP, it means as. What is an alias name? What is an alias name? Number number in my program again and again

23:16 So now I Should I call the number or not?

26:19 Okay next this is C. is C is two dimension three is D is D is a three-dimensional one. Remember this when it comes. This is not a dimension, it is no dimension. Okay, this is a no-dimension, when you How do you like the dimensions? What to do if you don't know how to remember? How many square brackets are there? How many square brackets are there here? Starting with a square bracket How many squares are we starting with? Starting with brackets is the same. Square brackets What if with a single square bracket? If it starts, it's one tension. How many square brackets does it start with? What does How many square brackets do we have? How many two-dimensional objects are there here? Starting with square brackets

27:05 There are three starting with three, right? Dimension So I'll show you now that So bro, how to see the dimension? You know you so you You're telling me, but I don't know how. How do I check my dimensions? How to check the dimension of That means we have one, normally I I took Ares, look, it's simple. I took Ares. I took 10 Ares. Same, same as above. I took Ares and loaded it. Dimension check after installation What should I do? It's called Endymion. It's ending, What do you mean a dot and b dot and c? Run by typing dot end d dot end If you run it, it's just like we said. Check that the dimensions are the same. Have we reached the dimension we mentioned earlier? Look at the dimensions that have come in different sizes. First, we say that 10 is zero. We said directly that 10 is zero.

27:51 We said it would come, and it came directly. Did you get it? Zero got it. You got zero, what's next? We did it, we said it was one-dimensional. Did the dimension come? Next to dimension? We said, "Did you come to Dimension Three?" We said dimension, three dimensions. So what do you think about this? I understand, if you have like arrays, what are they? What is the use of knowing if there are dimensions? If they do, tell me, what are they? What is the use to know the dimension? Do n dim use do n dim Is it okay? Is it okay? Remember, there will be many like this. Now you should remember everything. What should I do to get back in shape? What is shape? Okay, last one four, as I said earlier. Dimension is not three or four. Look, one, two, three, for once.

28:37 Remember, the third dimension has passed. That means it's still four dimensions five. They don't say that dimension six is dimension. Once it has crossed the third dimension, it means It's called multi-dimensional, but is there one more? Two is three, by mistake it's three. If you think it's gone, it's called multidimensionality. Is it still okay for me to know the whole cube? Beyond dimension, not yet multidimensional I think I am the fourth dimension. Six five dimensions means we are layers It's clear that there is still much to see. We can't even do the mathematical part. Okay, like 3D dimension is enough yet If we go beyond that, we will lose our minds. Even if we go beyond 3D, our mind is still the same. It's okay if you don't understand, because You must be looking at it normally, right? Dimensions, if I show you something once I will show you a video, 3D dimension video. Do you want me to show you or will you take care of it? youtube Three dimensions on youtube in simple way

29:24 Hit that and see if it shows okay. Okay, once. Okay, now what can I say about shape? Even if you say that, what does shape say? Even if we say that, what are the resources we have? How much does it cost to be in a dimension? We've seen it all before, haven't we? Like How many rows are there, how many columns are there? Tell me how many layers there are in the array. We have already discussed the shape above. Do you remember in the diagram? Here and here is the shape of how many roses How many columns are there? We saw the shape, right? So, this is the shape for you. What can you do if you don't know? I have given it here simply. How can you say "you can find out"? You can find out how simple that is. Dot Shape B Dot Shape C Dot Shape D

30:09 Say "dot shape" and give it. I might run this in case. If you do, please let me know with total data. I have the shapes now. I've explained it, see how the shapes are. The data we have collected so far has arrived. The shapes have arrived, so the data taken so far If we look at the shapes we saw, this What kind of shape is it since it is zero dimensional? It didn't come, it didn't come in any shape, so this is one. Dimension is so I am also in this. I said like here is the columns treat I said do it for now, okay? Look here, it says one two three. Here comes the three.

35:41 How do we get an image to the backend? From that one numeric numeric it Extracted. Extracted. How do we find out? See the preview to get an idea. See when it's okay with you. So that number sounds interesting. It's not that important, but it's easy. Don't take it, it's okay in the future too. Useful if you like someone Python, not a Python developer Even if you want to become an astronomer, you can use Anyone can become a Physics Department If you go, try this role in this job. There are many salaries, okay, SC.D. Type D Dot D Type means this D Type means What type is this? Is it normal? What type of D type is it? Which of these do we have as normal data? There is a D type, so there is an integer. Int 32 shows OK, 32 is 16.

36:27 It is 64 It is 12 It is 48 Based on Is that okay with you saying bits? Just note that either that 32 or that 16 are all Even if you ignore it, it's based on On interpreter bits but otherwise our Compare it with the system bits. Is it okay to say that you are 32? Consider one type of again. What does Type of B mean, Ares? Let me tell you, look at the simple things in Ares. It says array and array, which is the D type. This tells you the data type in the array, okay? Type is normally the variable of that type. Type says length, also check You can also check the length simply. You can do it, length and one came. Okay, now what is the range function? Let's also discuss what range this is. Tell me what you remember. What range is this from what you have learned so far? Like a range is called an array range.

37:14 Does everyone remember the range function? Start We say stop skip. We talked. When did we talk? We talked while saying for loop. So what you have there is in the normal range. Do you use the function and do it yourself? What is the use of that part here? What if you use a range function? What you do is use the range function there. So and so part from so and so So you need data up to the part What range function are you taking here? Using the so and so part inside the array Tell me you want this data until If it is not the same, then the data is How does it come here? What form does it take? Okay, so from one to 11, I am here. How much is it now if I want data in the form Tell me if the data is coming. How much data is there? Tell me what's true and watch something else. I'm telling those who don't know Jupiter.

37:59 Every cell has a connection, every cell This connection will only be established if this cell is loaded. Is the cell functioning properly? For every cell We are the only ones who have a connection. Like here the code is what we like different To be understood by separating out as For each cell, we write The cell has a connection if the above Define the variable here and here Is the connection okay if I call? Don't forget that it exists for those who don't know. I am saying Wow, I typed all this code myself, neat. As Tell me, you don't have documentation like this. I will show the documentation. I picked it from the documentation and I wrote this in a way that is understandable.

38:45 Is the notebook okay? I don't like when I learn. Later, when I did research, the whole Also write down the total number in this notebook. It's all here in this notebook, okay? If you research this separately You can write it down if you want. It will take at least one week. Okay, so let's run, look, run. If you do one two three four five six 10 Okay, it's up to n-1 here too. Here too, the main is in the same array. It's okay if it's actually the main thing. How many elements have we said something? Is it okay to say that there is n-1, so that's actually But in a different programming language It was brought to the list from the array. Actually, different programming. That implementation in the language is also

39:31 What is there that may be known to others? For those who know Java, C Plus, those who know might understand. We use this in the like array, right? Why are you telling me this? I've been saying this from the beginning, but this note is normal. What use will the book make to you? You don't need to read the documentary to see this. If you take a notebook, you will be separated again. There's no need to read anything first. What is Python from BASIC to Numpy? What is the difference between a list and a number? What is an array? What is a 2d array? How to create an array? How to find the dimension of shapes How to check the type of check? How to make a small base like that From now on we will go to advance. Okay, this notebook has A to Z. A notebook is very important for you.

40:18 I'll give it to you after class is over, is this okay? Say it now, get out now. What is the start stop below? Skip one three 5 79 is that true bro Bro, some people may ask you this again. Can you show us in VS Code, bro? That means you run it in VS, right? The problem is that you are running in VS Code. Run the above channel. If it's not a problem, then this is the top of the page. Related operations or Panda For related operations or missions We are also aware of all these DGI related Only if you use Jupiter and Collab It's comfortable for studying. Anyway, if not, you can get a data Even if it's for storage Is it okay to say that this is the same no matter what? Is that normal? What range is it in? What is the difference between a function and a function? What generates normal data for a range? Is it okay to generate array data for a range?

41:06 It's so easy now, look at this. I hope you understand all the functions. Even if you take the dot as I, it's six here. Even if you take D type equal to float So even if you take it as a six, I will run it, how do I get the output? If you give me this, I'll see if it comes. What do you call it? What matrix is it called? The Mathematics Department This is called the identity matrix. That's what they call the identity matrix. Is it called the identity matrix? What do you say when it comes like this, if one comes in the middle, one? If one one one one one comes Well, you should have given me six, bro. So how do you take it if you give six? That means we take 6*6. How many sixes does 6*6 mean? That means Rose is another six, that means Columns is another. Six means columns are taken like this

41:52 I took it and gave it to you, so the whole thing is in the middle. One is okay bro, there are six. Can I give you a four instead, bro? Look, I'll give you a four instead of a six. I'll run, what will happen to you? Like I'll see how it goes now. By default, I'll take float. We can change the data type if we want. Okay, it defaults to float. We can change the data type if we want. So I ran, look at how many times Four came, one two three came. How did four become 4*4? Okay, so if you're here only to see me. I think I took it, I took it two ways. Think it's over, watch it again 2 There is 1 2*2 Okay 3:3*3 2*2 4*4*4 What is this i means to us like this

42:39 The Identity Matrix is coming. I mean, what about zero, bro, zero? See what you get if you give it, Three Roses. Five columns of type D should be in the house. In the zero function, all zeros should be returned. The total zero function of a given zero function Okay, there is no such thing as type D equal to float. You can give it as a float or a string. Even if you can give it to me, even if it's a house You can give me anything you want.

44:18 11 1D type is not compulsory for you. Okay, I'll take it like this.

45:09 Three Roses Okay, so does everyone understand the difference? Tell me what the difference is, what does I mean? What are zeros and what are ones? What does that mean? I is the identity matrix that takes Zeros is the total number of zeros. If we take it, we Okay, I'll tell you that one time. It is taken one by one, the total What you take once means you gave it all. It should be taken because the whole data is the same.

47:16 Look, one, two, three columns.

55:15 If you multiply three numbers, you The first original data you have is yours. It should match, so 4*2 2 means 8 8*2. 16 So you can see this in three dimensions. Can change it now I've run it Look, three has become three-dimensional. Dimension and how many layers do I need? Look, I'm the first four layers. How much do I need for writing Four Layers? Look at the layers that have arrived. Layers One layer Two layer Three layer See the fourth layer. Do you understand Rose's columns? Tell me how to do the reshape. Tell me now what criteria should I base my decision on? Reshape is done by Everyone should tell me what criteria they base their decisions on. They will do it.

56:00 Take the original value and return that original The value is the total you multiply. Whatever is multiplied, whatever is done, Do you see the permutations there? You can base it on that like. Okay, then what? About Ravel Bro Ravel is a function called Don't you understand that we took it? Wait a minute, now we have normal. How much data is there, Shruti? Is it 16? We have the first, we are the first. We took it. The original is 16, but it's 16. Did you see it here? The data is 16. Now, if we want to make 16 two-dimensional, How can we do this? Otherwise you can do this, otherwise 4 like this Can you do this? This is two-dimensional, isn't it? Time is a day, time is a day, and then 60 minutes.

56:46 How do we do dimensioning? One can do 4 2 or else 2 4 Can do Do you understand that now 4*2 is how much 8 is 8*2? 16 2* 2*2 how much 4*4 how much 16 done like this So it came in three ways. If you want to change it in three dimensions, Is that okay? What about travel? So how many of you here have 82? Can you do 8*2 how much 16 16 1 how much 16*1 how much 16 What can I do? No problem. Look at me, Rawal means Undo. I'm saying, does anyone know what undo means? Undoing a revert is called a rollback. As normal now, you are doing something wrong. If you do, you will be hit by Control Z. Control What happens if you hit Z? It comes back.

57:34 So, they will control Z, right? What does Raval do? What is this Raval? What does it mean to you, Old Dimension? For example, you have two. Dimensional data is two-dimensional data. You turned it into three dimensions. Suppose you used Rawal. You'll be taken back to the second dimension again. That means taking a step back. One step back goes. Do you understand? Tell me what Ravel means. You normally know what Ravel is. In the system, whatever is in the system, is undo. This is also a dimension back. It's over, you can't take anything, so I am doing this normally, Rawal. If you do it, look normal, actually. But in reality, how original is ours? How much of our original is actually with us? Suppose the original data is 16. Okay, then we changed it to 2.

58:21 We changed it to 2, we changed the same x. How many changes have we made here again? Remember that x is 2 here. Tell me in what dimension is x? Everyone should say what dimension is x? I have. What dimension is X X? Tell me in which dimension is X? There is one dimension. So what dimension do we have here for x? As We changed which dimension we changed? The same x as a dimension We changed it to two dimensions. We've changed it, so you can come whenever you want. Did you use Ravel? What dimension does that data have again? What dimension has changed? One has changed. The dimension has changed, which means Ravel. What do you mean by original like?

59:09 You are the first from any dimension. After changing to another dimension If you use Ravel, as previously If there is any dimension, that dimension It will go away. It was previously. Dimension only one back Five is okay, but only one is back. Remember, Ravel is okay. This is how Ravel's image is said. Saying that, okay, I understand this. There is another thing, Flatton. Plato, as I said, is always Have you heard the name Platon? What does Platon mean? Meaning General Meaning Flatten That is If Flaton is like this, then it's Flaton, right? That means even if you have three dimensions, your Any dimension, even if it is close to two dimensions Even if you are flat once If you take it, it must be one. To the dimension

59:55 What changes is flat, what ends is flat. It's over, it's normal, straight. Okay, so what dimension is it now? But if you stay flat, it's simple. One dimension has to change. Has the changing also changed? Is X? Has One Dimension Changed? Is It the Same Again? As it is, is it okay to be flat? That's it, so I'm slicing again for you. Do I need to tell you that slicing is for you? Whether it comes or not, slicing Slicing So everyone come, I'm slicing. Needless to say, start stop. Skip the elements we need We will use a double colon. We'll use a single colon, okay, everything. I know, we told you on the list. Is it okay for you to take a certain part? Everyone knows, so it's a normal image.

1:00:42 I will also explain the licencing. Image Explain Even When You Know I will do it. Look at the image once. What do you think? Tell me if you understand, normally. Tell me what you mean. Look, I'll tell you once. Explain I will consider this as raw. Consider this as a period. Okay, that's perfect, so now. What I mean is zero row zero period one. Output Zero Row One Period to Output Zero row to period three output is okay?

1:01:31 Next time, it's One Row Zero. Five Output One Row One Period Six Output one row to period seven Output to Row Zero Period Eight Output to row one period 9 output to Row to period 10 output okay three row Zero period 11 output three row one period 12 Output three rows to period 13 Output Okay, do you understand what I'm telling you? How can this be done, as S. Sheikh said? We can write, for example, a 0 If we take 0 in this way, then = 1. Let's say = 2 = 3 = 5 = 6 = 7 = 8 = 9 = 10 = 11 = 12 = 13 Do you understand?

1:02:23 You understand how I'm taking it. We are taking it according to the Rose columns. It's a particular thing to say, "We'll take a pic." This is understandable from the location, right? Now let me show you some data. Is it okay for you to tell me what the output is? Given a piece of data, I am not sure if this is data or not. Based on the data, this data is here. Based on the metrics, I have this Can anyone tell me what the output is 012? Given three given I am three dimensions Given 01 what is the output I get? Tell me, I'll give you time. 01 What is the output?

1:03:19 Let's see if 012 Six is perfect. Look at me running, I'm the only one who knows. Did it and can anyone guess the time? I'll give it to you, anyone can guess. Go to the data above one and guess. Five, okay, so look, I'm running. If you run, it's exactly six. It came out wonderfully, but guess what? First, notice what happened. Let me explain, see how. What happened is now this here this What to do in this context? You can say zero. We said 1 0 1 for now. Okay, now if you see this here

1:04:07 Combine this again too. Compare and compare this. Let's say this is zero, this is one. Suppose Okay, but now when this zero is said Which should I take, above or below? Should I take the first zero? Tell me, do you understand what I'm saying? Let me say it again, look, this is one, this is one. Part This is a layer This is a partition This is a Layer is this a partition okay is this zero This is layer one, so we have layer zero. Which layer suits me? Is this layer suitable for me? Imagine what it was like when the layer arrived. For example, suppose the data is 1 2 3 Something data again 4 5 6 okay like this

1:04:53 Is the data okay? Now in this Let's partition it again, it's zero. Which layer is this one now? Which layer should we write? Which layer should we write? Should we write this? 4 5 6 This is what we need. This is the part you need. Well, this part has come again, in which 2 What is 2 of these? 0 1 2 Has the sixth output arrived? Okay, I don't understand, even now. Let me tell you once, look at the whole page. Okay, Balakrishna movie, please. Put it next to Chiranjeevi's movie. Put all the reviews aside. Just put this on. Only say

1:05:41 Zero One Is this okay? Are these two okay for everyone? Zero Layer One No, I asked you to pick Zero. Pick Zero. So, put this aside. You don't need this, this is all you need. Concentrate, one by one. Look at this one. This one is here. Inside this becomes zero, this becomes one, that is. Now I said one, so only Four, five, six is all that matters. The next decision is four five six. Five Six Look 2 0 1 2 Okay Okay? Do you understand now, Sheikh? That slicing is still the same, if not three This is how it is in dimension. We did it, so how do we do it normally?

1:06:29 That means I said zero here and this is one. Imagine hearing Zero One. Remember this is zero this is one this

1:11:44 Once the data and any changes made to The copy will not affect the original array. I told you twice, didn't I? And any changes made to the original array Will not affect the copy this is for you I know what happens after copying. It won't have any effect on anything, but the View does not own the data and anything Changes made to the view will affect the Original array and any changes made to the The original array will affect the view. This is the same as a view we like here. Here we will use the assignment operator. We'll just use the view, okay? Assignment operator Anna is the only view Anna In the form of a single function, view Let's say here is the assignment operator. Copying is not like that, copying is what changes us. I don't understand anything. Tell me now what you're saying. Difference Between Copy and View

1:12:29 What is the difference between copy and View It should be said that a copy is made once. Change the data copied in the copy for later. The original data that was created will not be changed, which is normal. Even if the data is changed, it is still the original data. It won't change, okay? What is a view? Whatever we do in the world, both reflect What kind of changes will be made? No choice, both will be reflected. Okay, so that's it, some operations. Let's see now I said a > 3 here. What does a > 3 mean in an array called a normally? Whichever is greater than 3 What did we get from all that, really? True means here, see the data. Look what's greater than 3. If you look here 4 5 6 7 8 9 so that Whatever is greater than that, there is a whole

1:13:15 Also shows me True True True True, true, true, which is greater? True didn't show me what they were. I don't want True, if you want to show me data, this We write this in the following syntax: If we write the syntax like this, it will be neat for us. It shows that like 4 5 6 7 8 is Saying that it is greater than three Is it okay to show that and like and also It can be done, which means that now a > 3 must be And a < 6 means now there are three Greater than and less than 6 means What are four fives? So four fives. The output is some operations. How can you do it? Like x1=x x4 means that they are equal to True comes if it is equal to whatever. If it comes, it means we will get false positives, okay? So, some operations like

1:14:01 Anyone have an idea for transposing? Transpose Transpose What does transpose mean? For example, suppose there are roses. You think there are columns. What happens if you transpose? If columns are roses, roses become columns. Do you understand that this means interchange? For example one two three four five Six Okay Now Rose Columns How many of these are there when the columns are rose? How many roses to roses are three columns? Now tell us how this will happen. These are the five things you should do if you want to interchange. Rose, these are columns, aren't they? Now what? Can we do this? We will use the transpose function. Now it's one, two, three, four, five, six. What if we interchange this? How can I do it? You can write, we are writing neatly here. See how one two three four five six

1:14:46 They say it is written as interchange. How did we do it? How are we doing now? One to one when it comes to roses and columns Two or three? Rose Three Columns Now three roses and two columns are three. How do you do this when you say Rose to Columns? Can someone tell me how to write the data? I can write whatever comes to mind first. How to see exactly how it comes out if you write it The truth is one. Two three four five six okay now How many rows and how many columns are there? Tell me how many roses and how many columns. There are three roses. Two columns is simply transpose.

1:15:32 What does transpose mean? What does transpose mean? Now there will be Rose columns, right? They become roses, and they become opposites. Okay, so that's it. Remember, transpose is so this I still have tables in Pandas for you. Is it okay if I transpose it and show it to you? And transport the table. Is it okay if I transpose and show it like this? Come and see how the data is normal. Look, it's what we said so far. Suppose it is like this: One 4 7 1 2 3 is like this. How did the data come about? It came about like this. This is how it came about. This is how it came about. Okay, I understand, right? Like this. Data is an interface that changes. Change It turns out that this is a transpose rose.

1:16:18 Columns If Columns Rose If Then What about H stock and V stock? How many people here know what horizontal means? How many people know what vertical is? Horizontal See vertical H stock. What is it? See what stalking is. Same as concatenation here Concatenation is a form of stacking. The only difference is that stacking can be done. Is this a new axis okay? What is H stock? Stock along the line. We stock only with roses, we Stack means stack with columns Okay, let's do it, now it's normal. So the data is like this in the stack B is like this, we can do H like this. How did you get the data if you stock it? Because it came in the form of a rose normally.

1:17:04 We have a one-dimensional array. If you stack it horizontally, How did it come to be like this? It exists in dimension because it is in the form of time. I am here to clarify this for you. I'll show you, you'll understand x4 data. There is x4 data in stock. See what is done. How did it come about? Look, I have a separate one as normal. Separate data is x1 data is x4 data There is separate separate data. This is a separate Data Okay, okay, this is a separate one. Data So when I stock V I How is the five times vice? The five times vice So please take note of that. This is one dimension for me. This is one dimension. Anna One, who combined dimensions How much is plus one? Okay, so I connected to the second dimension. I said I'm a normal stalker.

1:17:50 So you got two dimensions, called concat? Look here here See if it's in dimension. Even to the last if you want. Understandable. It's understandable, isn't it? This is a time-consuming vice. So you can do it this way. Dimension came, time has come, we took the vice We took the time to do it. Dimension came in stock but H stock doesn't come like that, S stock does. Look at the fact that x1 x4 means S stock row What do you think of Rowe Vice? Dimension has arrived, this is the only one See things in dimension One dimension Did you notice that it's two-dimensional? The truth is, this is what takes time. Time takes its toll, so... It came, it takes a row vice. So you notice that row by row add It would be contact row here, see here. From here to here, there is actually one If there is one from here to here

1:18:36 Do you actually understand something? Like What it does is it is a coordinate row. It continued like this as a vice. H stock is what V stock did. Like Different Different RS in the form She took it and connected it to us. If it is a conclusion, it will be done, if not, it will be done. This is how a stock like this works. S stack as a dimension is one Dimension does It's clear, isn't it? So that's okay. Let's also look at some operations. X One X Four is an operation If you see What is Ya V stock? Simply put, a Let me clarify, look at it simply. Let me clarify, see H Stock V. That's all, listen, I'll say it again.

1:19:21 Generally, put everything aside. Stock. What does that mean? I think that means adding, okay? So there are two types of stocks. When one comes, the edge stacks another. When it arrives, the V stack is OK. How do I run the code? What to do is Shift Enter Shift Enter Okay, so H is in stock. We are in stock. What is a stack and how does it connect? How does Rose Vice do V-stock? Time does it to you like a vice, it does it to you like a rose. You are a vice, so you are H. What happens to your data if you connect to the stock? Even if it exists, it is still one-dimensional to you. Save five and stock is for you too. This will be saved in the dimension, okay? Just remember the point, this flow Just remember, it's clear.

1:20:08 Okay, so it's normal now. What do you mean by insert? See also insert. I am doing X-One Data. Export data near the fourth location I want to put x1 data in the fourth. Export data near the location I'm trying to keep it, look normal. As soon as it arrives x1 Export data as it arrives. What am I saying x1 in data x1 in data Fourth location Insert near export data I want to insert export data. Look, I highlighted it. Export View data 100 1 2 3 4 5 6 7 8

1:20:55 900 is 100 1 2 3 4 5 6 7 900 x1 in data Check if you have inserted it. Please think about it and tell me. I need to insert it, okay? So you can insert it like this. Look what about delete bro I gave zero near delete, I got zero. If so, tell me what was deleted. What if I go into the data and give it a zero and delete it?

1:21:42 Has it been zero? Has the data been deleted? Was the element deleted? What was deleted? Zero means 100 deleted near zero. Delete zero from first index Zero is out of the index. It's been deleted, okay? So that's it. How many people can you have here? Do you remember the trigonometry operation? Trigonometry sine cos tan cosec cot did these come Everyone has them, right? So you're the one on my list. I won't tell you bro, are you okay? You're tense. Don't fall, we won't use it, okay? You're welcome. Trigonometry can also be done. Okay, okay, so That's so so they remain a mystery, right?

1:22:29 So we shouldn't touch on that. Don't touch now. 10. Touch. Okay, don't touch me now. So what do you say? So now they can do it in general too. Just remember that, okay sign. Function is sine Function is sine Can you do it? It's okay. It's tan. It can be done cos it is cos it can be done You also need trigonometry functions. This is just to show that they are in We say that this is a cell. This is a cell, this is a cell, these cells It's being shown, okay, new. No need to use sign language. Sign OK, Tan Ki Tan Kas Ki Kas You can use it if anyone wants to do it like this It's normal for anyone to have doubts. Bro, you said numerical python, right? Can you do it? It is possible. Is it okay to show it just for the sake of showing it?

1:23:14 This S 1/ tan= cot These are not there, we have it. We don't have a cot yet, so is it okay to have a cot? No, so what do we do? Whatever you say, 1/cot, do it now. I've been here before as normal. Is it okay to tan without a tan? I did it, no matter how I did it/ cos is tan Is sin/cos tan or not? This is how you do it. So whatever you want to do, 1/ What's up, add 1/0 to this? Okay, okay, S. Sheikh, it's over. 10 Minutes What is S exponential? Exponent is one.

1:24:01 You can also do power-power for a minute. You can also do it again in sum, even two. There are many ways you can sum that x=1. It can be given that x=0, it can be given that x=1 means What does x=1 mean? Time can be divided by sum. Okay, so this is the data, one two. Three four five six you are time vice Do you want to sum or not? Do you want to make a sum on this? Given that x=1, it depends Suppose the time is the sum of the times x=0. Suppose this is a row wise sum of five. So Look, I'm running now. Do you understand? Now tell me x=1. If you give me time, I will give you my day. If axis = 1, then time

1:24:47 Is it okay to give Roc equal to one? If axis equals zero, then row S What else did I say? Even though I said it, I typed it and it came out lost. Please be patient, a 10 20 How many minutes are there now in the stats? Come here. Stats I gave you the data yesterday. To process a number with Pandas We also have statistical theories. I said I want it. Based on statistical theories, I said I would do it, right? So here you go. Should I tell you if the main median mode is available? I'll tell you how long it will take to be neat again. Still, I will say that the main median mode About

1:25:32 Should I tell you? Even if someone asks me, I will tell you. I'll tell you for one person, Dunn. I will say the main median, the median. Actually, this is not our syllabus. But let me tell you, is the mode okay in an image? Wait a minute, I'll finish it all. Minute Um, let's talk about these now. What is the mean, what is the mode, what is the median, what is the range? I would say that it is clear. We have a rough draft because we can't find a clear image. Let's give it to you, so now look at me. So what does median mean to you? I know you've already done this. This is also a chapter for us when we were children. Tell me you don't know statistics anymore.

1:26:19 Is it okay with me? S is now 3 21 10, isn't it the median? What does average mean bro? How is this average? If you want to do it, look here. How many of these are there? Count them, one, two, three, four. Okay, we can do it with as many numbers as we want. What should we do? Bye. We will do it if you place it above and buy it below. This is how you get it, average it. It's called value, what do you mean by add up? All the numbers Okaya Divided by the Sum of the Like Divided by the sum of the number of Values are like an average. Let me tell you now. Here one here like I have it all There are chocolates, four chocolates. There are four chocolates now.

1:27:06 I need to average this out to four members. Tell me how to bend it with just one. Count 1 2 3 4 that's it, okay four. So there is When 1+1+1+1+1/4 is 4/4, what does 4 mean? One Jaw 4 1 each can be shared. Average can be taken as mean. Okay, what about the median? What does that mean? Can someone tell me what a median is? For example, if you have data like this Suppose there is 2 3 4 5 6 1 0 this first What do you do? Tell me first, ascending to this.

1:27:52 Descending should be changed to Ascending. Descending step needs to be changed. Don't change now 0 1 2 3 4 5 6 Tell me what the middle value of this is. Take away three, take away this three, middle. When the value comes, we get 3, this middle value. What do we mean by median? We call it the middle number. Mean means average value Median means For those who don't know what the middle number is, Do you understand that the median is the first data? Ascending to descending After making small to largest The middle should be taken, the median. Okay, what about the mode? What if the numbers are 2 3 4 3 1 8? Now, whichever number is higher, If there are two, divide them by 2. Isn't it in the middle? 4+5 is 9.

1:28:40 9/2 Okay? Okay, so now what is a mode? Frequent is frequent. What is the most frequent number 33? is a frequent number so three is Mode Okay, if it's positive, then Anna means If there is a positive number of values, which one? If there are positive numbers, bro, it's normal. Do you mean negative numbers? If there are numbers, we are under the smallest. Let's wear it there for the last time, shall we? They still wear it. Okay, what does repeat mode mean? What happened? What happened? What happened? What happened? And what is range? What if there were eight values? Let's do it now there are eight values. Suppose there are eight values: one, two, three. Think of it as four five six seven eight. When you have eight, put this four aside. Put these four aside, these two in the middle.

1:29:25 There are 4+5, how much is 9/2? That's 45. Something is the same, the same, the same. Do you understand the median? Okay, that's how you can do it, what is the range? What is the range from smallest to largest? Lowest value to highest value Now you can see what the like range is. What is the range of marks in one? from to 100 otherwise from zero It's up to 200, so this is the range. Smallest value is the highest value. Look at the difference between like this Take the highest and lowest number. Called Range So what's more, all this is for you. Statistics are in statistics. Part means you got this. I'm telling you the context, okay? So that's all. Even we are in that ninth grade math class Ninth Chapter Sixth Chapter Something There will be some chapters, all of these in the chapter.

1:30:12 There are, as you may have seen. You shouldn't tell anyone about this. You draw boxes and formulas too. They must have done everything in their intermediate. They must have done it in the tent too, okay? So that's it. The median is the median of the mean. No need to do all the formulas. We don't need to do all that, okay? Simple and direct formulas for us There are also standard deviations. The formula is this: Standard Deviation The formula standard deviation also gives you Is it okay to say that it will be okay? So it's over. Next Max Max can do this. Can you do the maximum number? Okay. You can also sort by all Can operate Max Sum Min You can sort everything, okay? It would be over if I told you about the lost roots. I'll tell you later, where is this like number?

1:30:58 This means you have an idea that is previous to anyone else. Standard deviation is also one of If you are normal, you are called mean median. Now, statistics again. I have to tell you everything. Is the standard deviation variance okay? They say we should take the statistics and say we are biased. I'll tell you what to say. Continue. I'll do it again, I'll go to the stats part. I will go. Stat part Should I tell you? I'll tell you when we have time. First, this shouldn't happen. First, is this okay? After that, the stats part. Let's go to Stats, it's that easy. Don't let it go, remember first. Stats mean that it will be over in an hour. It won't be over in an hour, it will be over in a week. Take Okay, okay, where did you see S Wear?

1:31:44 Tell me Where I'm going to say stats again Stats say depression and then two types again Saying that there will be, Infinitive and Descriptive or differential? Say it again, it's different. Say it again, main medium, say it again Here, the tendency is called intertense. Let me clarify about them again. Tell them their formulas again. Take an example and tell the population. Bring a sample and tell me sample tricks. It's not going to be a big story now. Okay, so here's where it says. Tell me, not here. Let's plan for a good day one day. Tell me when you see the status quo. Everyone has seen what ware means in SQL, right?

1:32:30 Where is where? Any location. Okay, where is it? So this wear is also used like that now. What do I mean by "we will do it"? np.dot Where x one is equal to equal to four That is, if the element is OK, then where is it? It's here, now I'll show you something else. Data, here is another data, okay? What I mean here is where is the modulus of C? 2= Show me equal to zero. I'm telling you, I'll show you the output. Now show me the output and tell me how Can you tell me why you came and how? I need to tell you what happened. This is out for me. Put Where C modulus 2=0 I took it.

1:33:16 Tell me why you came, where did you come from? Came Tell me, what did you take there? S Remember, what do we have here? But what about equal to equal to zero? Here is their index in this data. Only I took it now 44 is 2 plus we Does modularization result in zero? Reminder: Now if 2 is 44, what is 2 * ?

1:34:05 Like 22 44 0 Reminder received Zero What location is this in when the reminder comes? There is zero location in the location so zero Okay, we have zero reminders with Next 552. Reality 2 * It says 415 and then 5. Even if you do 10, it will be 50 again. It keeps saying that. Okay, that class is over, so it's hot and humid, so 55. Does the modulus here get us zero? Reminder Zero will come, okay? Since it is not coming, this index is what we One is ignored 66 is it 66 Let's do it with 2 2 3 6 6 0 modulo zero.

1:34:51 Did it come 0 did it come So where is 66 3 So 3 is in the output, is that okay? What's next is not three, it's in 2. Yes, the next 88 is 883. Actually, three is 99, so four is 99. It won't come 12 hours okay 12 hours 12 hours 12 hours 12 hours 10 hours 10 hours 10 is actually not 101, okay, not 101 So, do you understand that we missed 13? So overall, the data we have Wherever there are even numbers, wherever there are even numbers Only the index of what exists Shows that there are no even numbers. Comes Is it okay to say that it will come? S.S.E. Jupiter What they do to them in the US is our default. This is given as D type. Ignore.

1:35:39 Okay, by default it comes with data. So don't worry, it's a little. Everything in this is by default. Whatever you do in this, look x1 greater than Five x1 is whatever is greater than five. Only means more than five. Leave everything as normal, if any. Anything less than five is zero. What is replace and wear? We say, "Wherever it is like this, do it like this." Okay, that's it, and I'll give you something else. Syntax is very useful for you. Whenever you need a directory, you need a directory. Suppose you gave a list. List function Like list whatever you want If you look at the functions, they are all functions. Look at all these things that are coming. Did we mention append? Clear Copy Count Extend Index Insert Pop Remove Reverse Sort

1:36:25 We said it, we said it all. So you are still like that. The rest of them also do the rest. Let's see what else we have on the list. Along with the list, we are for Let's give an example set. Set is real. We have a clear copy in that set. Difference Described Intersection Digit and Subset Like All These Also There are, right? Who knows, bro, how many? I don't know if there are any. I have this Python 311. You don't know what came in. You can find out this syntax for that. I put the class on the number I gave today. It can be seen everywhere, everywhere. You can see it in Python. You can see everything bro said today. For me, enough means more than enough, okay?

1:37:11 A machine learning engineer can either For a data scientist You can do that, you can do it anywhere. If not, no bro, I still need it. If you want more content, it's simple. Go to No. Open documentation on No. Is it okay for you to do the documentation? It means the content I mentioned was not enough for you. From now on, you should refer to this. If it's not a problem, I almost said that.

1:43:48 The task that has been done for so many days is over. It's not visible, it's gone, okay? That fruit. What does full function mean bro? That's one thing. Type of function is that okay? Actually, it's not in our syllabus. I will explain it to you. Where else can you use it? What they do is a program called Julia. Do you know that there is a programming language called Julia? Julia uses it in Julia. If you want, I'll take it and tell you that. Multi done every day for so many days Threading and Regulations Topics Tell me bro, I'll tell you, okay? I doubt it. Okay bro, depending on the use of libraries.

1:45:48 What happens is that no matter where you change No matter where you change it like a mirror Same as it appears means It will change no matter where you change it, okay? It is zero by default in that array. Is there an index? Bro, like zero, it's just like that. Is it okay to have zero, you created it? IPNB file posted on Telegram Will you do it? I will file the IPNB.

1:46:35 Tokens are normally used in Jangoa. We will do it, if not, like AP tokens.

1:48:07 How to use inheritance in real code Can't give it or can't give the file?

1:49:17 We'll take it and put the rest aside. What we do in classes is their We'll take the mileage, that's all. What are we like in the parent class? Parent class not implementing Child class implementation rather than in

Share

More video summaries