Created
April 13, 2026 07:52
-
-
Save kellatirupathi/a232d0df7a7a4a4bd9e8e8279db66ed2 to your computer and use it in GitHub Desktop.
Transcript for transcript_1jfzlItinaJ9Yei58BiK3uhBiF3BtT0qj_1_1123_9bea6eb4b6e6_2.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [00:00:44] You need to return to individual elements. | |
| [00:00:47] Individual elements. | |
| [00:00:51] Okay, so I need to write. | |
| [00:01:05] I think I talked. | |
| [00:01:14] Why did you remove the function? | |
| [00:01:18] We can also do it outside. | |
| [00:01:20] No, no, I wanted part of a function so that we can give any number of values later. | |
| [00:02:14] So do you know that multiple elements can be written without even sharing it as a list or a tuple? | |
| [00:02:26] Multiple elements can be returned from a function without giving it as a list or a tuple. | |
| [00:02:32] Are you aware of it? | |
| [00:02:34] Yeah, I'm assigning the list here soon. | |
| [00:02:38] Why? | |
| [00:02:40] Because it will only return one element. | |
| [00:02:45] Are you sure? | |
| [00:02:48] Yes, sir. | |
| [00:02:49] Any function can return only one element. | |
| [00:02:52] Okay, do one thing. | |
| [00:02:54] Remove the list notations there. | |
| [00:02:58] Okay, but it will raise an error also. | |
| [00:03:06] No. | |
| [00:03:09] Yeah, give the values to list one. | |
| [00:03:14] You can print that. | |
| [00:03:35] So you need to print the value stop. | |
| [00:03:43] No, don't need to send it as a list. | |
| [00:03:45] Remove that list. | |
| [00:03:54] Expect two elements from that particular function. | |
| [00:03:56] Let's say a comma b is equal to solution of list one comma list two. | |
| [00:04:07] It was not returning anything, sir. | |
| [00:04:09] No, no. | |
| [00:04:09] You need to write a comma b is equal to solution of. | |
| [00:04:15] Can you go to the 25th line? | |
| [00:04:18] Okay. | |
| [00:04:19] Okay. | |
| [00:04:22] A comma B. | |
| [00:04:23] Okay. | |
| [00:04:24] Then print A and B. | |
| [00:04:31] Unlike Java or anything else, Python allows you to return multiple values. | |
| [00:04:41] Okay. | |
| [00:04:42] Yeah. | |
| [00:04:44] Okay. | |
| [00:04:45] Okay. | |
| [00:04:46] So you don't need to send it as a list or a double. | |
| [00:04:50] Okay. | |
| [00:04:51] Fine. | |
| [00:04:52] Can you write a five factorial code? | |
| [00:04:55] Sir? | |
| [00:04:56] Factorial code. | |
| [00:04:57] Can you write it for, let's say, I need you to print for five factorial. | |
| [00:05:03] Sir, are you able to see my screen properly? | |
| [00:05:07] Yeah, I can see your screen. | |
| [00:05:08] Yes. | |
| [00:05:09] Yeah, I am. | |
| [00:05:11] So do you want me to print 5 factorial? | |
| [00:05:15] 5 factorial. | |
| [00:05:17] Okay. | |
| [00:05:20] That's a new function altogether. | |
| [00:05:23] Okay, sir. | |
| [00:05:38] Okay. | |
| [00:06:58] Can you write it as a recursive function? | |
| [00:07:15] So you need to make it quick. | |
| [00:07:16] Actually, we are running short of time. | |
| [00:07:48] Are you going to see? | |
| [00:07:53] I am able to see an infinite loop. | |
| [00:08:02] Let's say, for example, you have written five. | |
| [00:08:06] What will happen? | |
| [00:08:16] Okay, 5 will go through. | |
| [00:08:19] Your if 5 is less than 1, false. | |
| [00:08:23] It will go to else. | |
| [00:08:25] Okay. | |
| [00:08:26] And then you are calling it as num equal to 1. | |
| [00:08:29] Again, it will it is fail, false. | |
| [00:08:32] So it will go to else condition. | |
| [00:08:35] So again, you are calling solution of 5 into solution of 5 minus 1. | |
| [00:08:40] So that solution of 5 will keep on going and then solution of n minus 1 also will keep on going. | |
| [00:08:47] So it's a while loop. | |
| [00:08:49] It will go into infinite loop. | |
| [00:08:53] Thank you. | |
| [00:08:57] Do you know where to correct? | |
| [00:09:05] Sir, are you able to see my display? | |
| [00:09:09] Yeah, I can see your screen. | |
| [00:09:11] There is a wrong, that's what I'm trying to say. | |
| [00:09:16] Your code is wrong. | |
| [00:09:17] It goes into infinite loop. | |
| [00:09:20] Okay. | |
| [00:09:21] You can run your code and then check it out. | |
| [00:09:23] It's a solution of n and you can check it out. | |
| [00:09:26] It will go to infinite loop. | |
| [00:09:29] I was unable to see my displays. | |
| [00:09:31] I have an issue here. | |
| [00:09:34] That's what I'm thinking. | |
| [00:09:36] You can stop your screen share and then reshare it again. | |
| [00:09:39] Not a problem. | |
| [00:09:40] Okay. | |
| [00:10:05] Okay, so. | |
| [00:10:10] It's the end of the season. | |
| [00:10:14] I think you need to duplicate. | |
| [00:10:15] Are you having monitor? | |
| [00:10:18] Yeah, no, sir. | |
| [00:10:19] I'm using laptop, which has some problem. | |
| [00:10:23] Okay, then you have to do your, let's say, say go to settings and then look at duplicate. | |
| [00:10:30] Whenever you share your screen, you are getting the blank screen, right? | |
| [00:10:33] Yeah, so. | |
| [00:10:35] So far, how are you able to write the code? | |
| [00:10:37] Just a query. | |
| [00:10:39] It was blinking. | |
| [00:10:40] So in the gap, I'm writing. | |
| [00:10:48] So your code is wrong for factorial. | |
| [00:10:51] That's what I can say. | |
| [00:10:53] You need to check. | |
| [00:10:55] I know where exactly the issue. | |
| [00:10:56] It is in line number 12. | |
| [00:11:01] Okay, sir. | |
| [00:11:13] Can you tell me what is 5 factorial generally? | |
| [00:11:16] Can you explain what is 5 into 4 into 3 into 2 into 1? | |
| [00:11:22] So you are saying it is 5 into 4 into 3 into 1. | |
| [00:11:26] Let's say if I give you 5, where is my 5? | |
| [00:11:32] Where are you multiplying that 5 with, let's say, 4? | |
| [00:11:38] Yeah, 5 into 4. | |
| [00:11:41] You are saying solution of num, not num. | |
| [00:11:47] Your return should be num into solution of n minus 1. | |
| [00:11:56] Numb and okay. | |
| [00:12:09] Okay, can you let's say create a sample data frame, okay, which will have, let's say project details. | |
| [00:12:18] Okay, project ID. | |
| [00:12:20] Okay, let's say project name, project value. | |
| [00:12:26] Can you do and the project name? | |
| [00:12:28] I think project ID name and then value. | |
| [00:12:30] Can you add that? | |
| [00:12:31] Can you create a data frame, a sample data frame with five records in it? | |
| [00:12:36] Let's say project one. | |
| [00:12:38] Let's say one ID one project ID project one. | |
| [00:12:42] And then that value is around 10,000. | |
| [00:12:45] Likewise, you need to create it for five projects. | |
| [00:12:51] Okay, in data. | |
| [00:12:54] Yes, in data plans. | |
| [00:13:00] In this compiler only, so like I need to use Google Colab or something. | |
| [00:13:07] Same thing. | |
| [00:13:07] You need to use the same thing. | |
| [00:13:19] Why do you want to go to Google Collect? | |
| [00:13:22] No, I use there a lot. | |
| [00:13:24] So that's why. | |
| [00:13:26] Okay, so come, can you say the question again, please? | |
| [00:13:31] You have to create a project data frame with three columns in it, project ID, name, and then project value. | |
| [00:13:43] Okay. | |
| [00:13:45] You need to create five records in it. | |
| [00:13:50] with some dummy data. | |
| [00:13:56] Okay, you want me to create a table? | |
| [00:14:31] So do you want me to form a matrix form? | |
| [00:14:37] Okay, I mean we have three literally two minutes, whatever you wanted to do, you do it. | |
| [00:14:44] Two? | |
| [00:14:44] I mean we have to create five records ma, like we need to have it in a table, like how you have Excel, you have three columns, project ID, name and then cost. | |
| [00:14:55] Okay. | |
| [00:14:56] So you created you you might have worked on amnesty data or you might have worked in what you call data frame under the data. | |
| [00:15:08] Iris data. | |
| [00:15:10] Okay. | |
| [00:15:11] You didn't work on Iris. | |
| [00:15:14] No, sir. | |
| [00:15:16] You said you are working on A and ML, you didn't work on Iris? | |
| [00:15:19] Iris, I don't know. | |
| [00:15:20] Like, I don't, I just know basic names. | |
| [00:15:23] I just did a sync downship, like, they just taught me a basics and I did basic project over there. | |
| [00:15:32] Okay. | |
| [00:15:34] Okay. | |
| [00:15:34] So, | |
| [00:15:36] That's fine, but you need to create one data frames for the project. | |
| [00:15:42] So if you are not clear, it's fine. | |
| [00:15:44] We will move on to other questions. | |
| [00:15:52] I don't know. | |
| [00:15:54] Okay. | |
| [00:15:55] Data frames is important for, I mean, let's say it's an important component part of any algorithm for the fact. | |
| [00:16:06] Okay. | |
| [00:16:07] So it is important that you are aware of data frames. | |
| [00:16:13] Not only for NML, be it anywhere you go, it is important that you learn in data frame. | |
| [00:16:19] Otherwise, any AML project that you do, I think it happens only on top of it. | |
| [00:16:32] Okay, can you write a list comprehension? | |
| [00:16:34] Let's say I have a list of numbers 1 to 10. | |
| [00:16:39] I need you to write a list comprehension. | |
| [00:16:43] Okay, and which will filter only the let's say even numbers. | |
| [00:16:49] Okay, and then share the output. | |
| [00:16:53] Let's say 1 to 10 if I give it, it has to return me 2, 4, 6, 8. | |
| [00:17:05] It's not using photo. | |
| [00:17:07] Okay. | |
| [00:17:27] Why? | |
| [00:17:27] Can I use why? | |
| [00:17:29] You know, list comprehension by the... | |
| [00:17:34] It's one of the reasons. | |
| [00:17:44] Okay. | |
| [00:17:46] Fine, no problem. | |
| [00:17:47] I think you need to work on it. | |
| [00:17:52] Okay, any questions to me? | |
| [00:17:56] No, sir. | |
| [00:17:58] Okay, okay. | |
| [00:18:00] Okay, thanks, Ravani, for joining the call. | |
| [00:18:03] Okay, so thank you. | |
| [00:18:05] Yeah, thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment