Sumit introduces a free Python course aimed primarily at IT professionals, especially those in data roles such as data engineers, analysts, and scientists. He emphasizes that the course will cover essential Python skills necessary for succeeding in data-related interviews and highlights the growing demand for Python in various fields, particularly in data engineering and machine learning. The course promises to be comprehensive and beneficial for anyone looking to enhance their Python knowledge and skills.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
2 views
Tinytow
Sumit introduces a free Python course aimed primarily at IT professionals, especially those in data roles such as data engineers, analysts, and scientists. He emphasizes that the course will cover essential Python skills necessary for succeeding in data-related interviews and highlights the growing demand for Python in various fields, particularly in data engineering and machine learning. The course promises to be comprehensive and beneficial for anyone looking to enhance their Python knowledge and skills.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 20
[00:00:00.72 --> 00:00:06.
04] Hello friends this is Sumit and I'm
[00:00:03.32 --> 00:00:09.00] super excited to start the free python [00:00:06.04 --> 00:00:11.12] course right and as I have mentioned [00:00:09.00 --> 00:00:13.72] this will be even better than the paid [00:00:11.12 --> 00:00:17.44] courses which you would have purchased [00:00:13.72 --> 00:00:20.48] now if you do not know me uh to let you [00:00:17.44 --> 00:00:23.52] know I teach data engineering and I [00:00:20.48 --> 00:00:26.08] offer Big Data courses I have released [00:00:23.52 --> 00:00:28.52] my SQL playlist on YouTube which is [00:00:26.08 --> 00:00:31.52] super super hit if you have not seen it [00:00:28.52 --> 00:00:35.12] yet I would highly encourage to see it [00:00:31.52 --> 00:00:37.32] and the link for that is in my comment [00:00:35.12 --> 00:00:39.24] section now if you have not yet [00:00:37.32 --> 00:00:41.36] subscribed to my channel do subscribe [00:00:39.24 --> 00:00:46.04] now so that you do not miss out on any [00:00:41.36 --> 00:00:49.24] important updates so let's get started [00:00:46.04 --> 00:00:51.76] now this course is for whom all right [00:00:49.24 --> 00:00:56.76] ideally this course is for all the it [00:00:51.76 --> 00:01:00.08] folks all the it folks but I am more [00:00:56.76 --> 00:01:04.32] targeting it towards the data nishe [00:01:00.08 --> 00:01:06.48] right and I would be mainly focusing on [00:01:04.32 --> 00:01:10.72] data [00:01:06.48 --> 00:01:13.12] Engineers data analyst data [00:01:10.72 --> 00:01:15.08] analyst data [00:01:13.12 --> 00:01:17.80] scientist that means people who are [00:01:15.08 --> 00:01:20.72] working on machine learning and all [00:01:17.80 --> 00:01:23.20] how even though I'm targeting more [00:01:20.72 --> 00:01:25.60] towards data folks but this course is [00:01:23.20 --> 00:01:28.48] certainly going to help all the it [00:01:25.60 --> 00:01:30.92] professionals and you know python is [00:01:28.48 --> 00:01:33.88] used at various places like automation [00:01:30.92 --> 00:01:36.72] scripting web development and much more [00:01:33.88 --> 00:01:38.64] but my main target is this how this [00:01:36.72 --> 00:01:42.92] should help [00:01:38.64 --> 00:01:45.88] everyone so let's get started right so [00:01:42.92 --> 00:01:49.60] by the way since I'm targeting for these [00:01:45.88 --> 00:01:54.40] folks I say this course is python for [00:01:49.60 --> 00:01:57.00] data folks python for data [00:01:54.40 --> 00:01:59.36] folks right but most of the things would [00:01:57.00 --> 00:02:01.68] be on similar lines for example now in [00:01:59.36 --> 00:02:03.64] web develop vment there is a very [00:02:01.68 --> 00:02:05.04] well-known framework Jango right we [00:02:03.64 --> 00:02:07.52] won't be covering because it's not [00:02:05.04 --> 00:02:09.64] needed for us so we will be covering [00:02:07.52 --> 00:02:11.72] things which are required for data [00:02:09.64 --> 00:02:14.12] Engineers data analyst data scientists [00:02:11.72 --> 00:02:19.24] and mainly data Engineers because this [00:02:14.12 --> 00:02:23.00] is what I um cing to for several years [00:02:19.24 --> 00:02:25.12] so let's get started without any delay [00:02:23.00 --> 00:02:27.36] you might have a very first question [00:02:25.12 --> 00:02:30.08] suit sir you said that this course will [00:02:27.36 --> 00:02:32.28] be in detail will this course be enough [00:02:30.08 --> 00:02:34.84] to crack interviews if they ask me any [00:02:32.28 --> 00:02:36.96] python related questions will this [00:02:34.84 --> 00:02:39.60] course be [00:02:36.96 --> 00:02:44.04] enough very first question you should be [00:02:39.60 --> 00:02:45.88] having in your mind I would say 100% [00:02:44.04 --> 00:02:48.64] this course should be enough and you [00:02:45.88 --> 00:02:51.52] should not be seeing anything apart from [00:02:48.64 --> 00:02:54.00] this in your python learning if you are [00:02:51.52 --> 00:02:55.68] looking to crack or go for a data [00:02:54.00 --> 00:02:58.64] engineering interview or data analyst or [00:02:55.68 --> 00:03:01.92] data scientist right but again mainly [00:02:58.64 --> 00:03:04.52] targeting towards data Engineers as I [00:03:01.92 --> 00:03:06.28] mentioned fine so I think this should [00:03:04.52 --> 00:03:08.80] have given you good confidence that you [00:03:06.28 --> 00:03:13.60] should stick to this course and you [00:03:08.80 --> 00:03:16.92] should not leave it in between okay so [00:03:13.60 --> 00:03:20.84] why python if you are here to Learn [00:03:16.92 --> 00:03:23.84] Python then probably you would be having [00:03:20.84 --> 00:03:28.48] a fair enough understanding that python [00:03:23.84 --> 00:03:32.24] is in great great demand great demand [00:03:28.48 --> 00:03:34.88] it's in huge demand because this is [00:03:32.24 --> 00:03:38.12] something which is used in most of the [00:03:34.88 --> 00:03:40.96] places in most of the domains and python [00:03:38.12 --> 00:03:45.44] is has taken over all the other [00:03:40.96 --> 00:03:47.72] languages significantly right now it is [00:03:45.44 --> 00:03:49.92] super easy to learn it's not hard to [00:03:47.72 --> 00:03:51.88] learn it's one of the easiest languages [00:03:49.92 --> 00:03:55.72] that you can learn it's one of the [00:03:51.88 --> 00:03:57.92] easiest languages right now it provides [00:03:55.72 --> 00:04:00.64] a very good support for machine learning [00:03:57.92 --> 00:04:05.16] Ai and all that's why in dat domain is a [00:04:00.64 --> 00:04:07.32] it is a super hit a really good support [00:04:05.16 --> 00:04:10.44] for [00:04:07.32 --> 00:04:13.20] mln and AI [00:04:10.44 --> 00:04:15.64] applications right so that's where even [00:04:13.20 --> 00:04:17.68] in data engineering we use it very very [00:04:15.64 --> 00:04:20.20] significantly there was a time in data [00:04:17.68 --> 00:04:22.16] engineering when Scala used to dominate [00:04:20.20 --> 00:04:25.20] when we were writing spark code and all [00:04:22.16 --> 00:04:28.60] but now things have drastically change [00:04:25.20 --> 00:04:30.68] and I would say python is the leader [00:04:28.60 --> 00:04:32.88] there right [00:04:30.68 --> 00:04:34.68] now as I mentioned in data engineering p [00:04:32.88 --> 00:04:37.32] park is one of the most in demand [00:04:34.68 --> 00:04:42.24] distributed processing engine right and [00:04:37.32 --> 00:04:46.36] there also we use Python so pypar we use [00:04:42.24 --> 00:04:49.08] python in pypar we use Python and pypar [00:04:46.36 --> 00:04:50.92] is something which every data engineer [00:04:49.08 --> 00:04:52.96] would be learning these days right so [00:04:50.92 --> 00:04:57.12] that's where python would really help [00:04:52.96 --> 00:05:00.04] you out and the list is endless and you [00:04:57.12 --> 00:05:02.56] would be aware of that why py python [00:05:00.04 --> 00:05:05.48] that's why you are here so I would not [00:05:02.56 --> 00:05:07.60] go more into detail but this should be [00:05:05.48 --> 00:05:09.72] giving you a clear idea that python is [00:05:07.60 --> 00:05:11.36] something that you should learn [00:05:09.72 --> 00:05:14.68] definitely [00:05:11.36 --> 00:05:16.52] okay now let's say you are learning [00:05:14.68 --> 00:05:18.64] Python and you would have to practice so [00:05:16.52 --> 00:05:21.08] where will you write your python code [00:05:18.64 --> 00:05:24.60] where will you write your python code [00:05:21.08 --> 00:05:27.44] where will you write your python code [00:05:24.60 --> 00:05:31.24] for your practice or wherever [00:05:27.44 --> 00:05:33.76] right I would say you can type in Python [00:05:31.24 --> 00:05:37.24] code at various places it can be either [00:05:33.76 --> 00:05:43.56] a IDE integrated development environment [00:05:37.24 --> 00:05:48.00] such as Visual Studio code or it can be [00:05:43.56 --> 00:05:49.44] pyam or you can type this code in any [00:05:48.00 --> 00:05:51.60] Jupiter [00:05:49.44 --> 00:05:52.88] notebooks I hope you would have seen few [00:05:51.60 --> 00:05:55.96] Jupiter [00:05:52.88 --> 00:05:58.48] notebooks uh and by the way please [00:05:55.96 --> 00:06:00.20] ignore typos if I'm doing right because [00:05:58.48 --> 00:06:01.88] while teaching [00:06:00.20 --> 00:06:04.72] I mean I I might end up doing some [00:06:01.88 --> 00:06:06.28] typers but you can ignore that [00:06:04.72 --> 00:06:09.64] right [00:06:06.28 --> 00:06:12.92] so uh here jupyter notebooks we can even [00:06:09.64 --> 00:06:17.56] set locally if we want or if we want we [00:06:12.92 --> 00:06:19.64] can use even if you think uh data bricks [00:06:17.56 --> 00:06:23.04] Community [00:06:19.64 --> 00:06:24.00] Edition Community Edition or we can use [00:06:23.04 --> 00:06:26.48] Google [00:06:24.00 --> 00:06:28.88] collab there can be many other places [00:06:26.48 --> 00:06:30.92] Google collab and there can be many [00:06:28.88 --> 00:06:33.16] other places where you can use if you [00:06:30.92 --> 00:06:36.12] want you can set it up locally also but [00:06:33.16 --> 00:06:38.32] these two are on the cloud datab Bri [00:06:36.12 --> 00:06:40.00] Community Edition and Google collab the [00:06:38.32 --> 00:06:42.08] benefit with datab bricks Community [00:06:40.00 --> 00:06:44.12] addition is there you can practice py [00:06:42.08 --> 00:06:46.80] spark and data engineering related stuff [00:06:44.12 --> 00:06:50.52] also or Big Data related stuff [00:06:46.80 --> 00:06:52.04] also okay now otherwise you can also [00:06:50.52 --> 00:06:55.20] practice in a [00:06:52.04 --> 00:06:57.36] terminal terminal right you can set it [00:06:55.20 --> 00:06:57.36] up [00:06:57.48 --> 00:07:02.88] locally and of course this IDs you have [00:07:00.00 --> 00:07:04.84] to set up locally so IDE terminal [00:07:02.88 --> 00:07:09.84] jupyter notebook there can be n ways [00:07:04.84 --> 00:07:12.76] where you can write your python code so [00:07:09.84 --> 00:07:14.44] let's quickly see the installation let's [00:07:12.76 --> 00:07:18.00] quickly see the [00:07:14.44 --> 00:07:18.00] installation how to [00:07:20.00 --> 00:07:26.12] install right okay so the very first [00:07:23.72 --> 00:07:28.72] thing that you have to do is I have a [00:07:26.12 --> 00:07:30.12] sheet with some important links you have [00:07:28.72 --> 00:07:34.00] to download [00:07:30.12 --> 00:07:34.00] python so what you need to [00:07:34.36 --> 00:07:41.52] do python.org is the website there you [00:07:38.16 --> 00:07:44.24] click on downloads and say download in [00:07:41.52 --> 00:07:47.12] my case it is showing python [00:07:44.24 --> 00:07:49.20] 3.2.2 in your case if you have seen this [00:07:47.12 --> 00:07:51.96] video later might be it's one updated [00:07:49.20 --> 00:07:54.92] version so I can just click here and I [00:07:51.96 --> 00:07:57.96] can download this and you can see this [00:07:54.92 --> 00:08:01.12] is downloaded and after that I can just [00:07:57.96 --> 00:08:03.24] click on this I can just click on this [00:08:01.12 --> 00:08:06.84] and say next next next and this will be [00:08:03.24 --> 00:08:09.00] done right as straightforward right very [00:08:06.84 --> 00:08:11.16] straightforward and even when you are [00:08:09.00 --> 00:08:13.64] doing it in your windows it might ask or [00:08:11.16 --> 00:08:15.96] give you checkbox to set up your local [00:08:13.64 --> 00:08:17.80] variables you just check that those [00:08:15.96 --> 00:08:20.32] boxes I do not have Windows [00:08:17.80 --> 00:08:22.08] unfortunately but in case if I get a [00:08:20.32 --> 00:08:23.72] Windows system I might attach [00:08:22.08 --> 00:08:24.92] screenshots for that but it should be [00:08:23.72 --> 00:08:27.08] super [00:08:24.92 --> 00:08:29.72] straightforward right so you download [00:08:27.08 --> 00:08:31.60] the latest version of python and and [00:08:29.72 --> 00:08:34.44] after that once you have downloaded [00:08:31.60 --> 00:08:37.96] python then you can download any of the [00:08:34.44 --> 00:08:41.48] IDE like py Cham or visual studio for py [00:08:37.96 --> 00:08:44.60] Cham you can take this link you can take [00:08:41.48 --> 00:08:48.28] this link I have already uh mentioned it [00:08:44.60 --> 00:08:48.28] here so if you see [00:08:48.56 --> 00:08:53.12] this right this is the py cham [00:08:51.44 --> 00:08:55.44] automatically I say download it detect [00:08:53.12 --> 00:08:59.40] my operating system which is Mac you can [00:08:55.44 --> 00:09:01.36] see here and when you go down it gives [00:08:59.40 --> 00:09:03.32] you we value the vibrant python [00:09:01.36 --> 00:09:06.12] community and they are giving a free [00:09:03.32 --> 00:09:08.48] community addition the above One is paid [00:09:06.12 --> 00:09:11.00] that is pyam professional you can go [00:09:08.48 --> 00:09:13.04] with pyam Community Edition and you can [00:09:11.00 --> 00:09:15.40] just click on download Based on whatever [00:09:13.04 --> 00:09:17.92] operating system you have it will detect [00:09:15.40 --> 00:09:19.60] right and then again say next next next [00:09:17.92 --> 00:09:22.92] this will be [00:09:19.60 --> 00:09:26.04] done same way if you want to download [00:09:22.92 --> 00:09:28.00] visual studio which is another IDE IDE [00:09:26.04 --> 00:09:30.56] you do not have to do multiple but I am [00:09:28.00 --> 00:09:32.12] saying some of you might be comfortable [00:09:30.56 --> 00:09:34.20] with Visual Studio code some of you [00:09:32.12 --> 00:09:37.48] might be comfortable with pycharm and [00:09:34.20 --> 00:09:40.32] all but pycharm is very widely used but [00:09:37.48 --> 00:09:43.08] Visual Studio code is also has gained a [00:09:40.32 --> 00:09:46.72] lot of momentum in past few years right [00:09:43.08 --> 00:09:51.96] so to download visual studio code you [00:09:46.72 --> 00:09:54.76] put this link and according to your uh [00:09:51.96 --> 00:09:57.04] operating system you download right in [00:09:54.76 --> 00:09:58.96] this also I have Mac in this Intel chip [00:09:57.04 --> 00:10:02.08] and apple silicon which is a new chip [00:09:58.96 --> 00:10:02.84] right mine is Intel so I have downloaded [00:10:02.08 --> 00:10:05.76] this [00:10:02.84 --> 00:10:07.48] one I hope this makes sense and then [00:10:05.76 --> 00:10:10.40] after that next next next all those [00:10:07.48 --> 00:10:13.52] steps you know quite easy to do so this [00:10:10.40 --> 00:10:17.80] way you will be able to install Python [00:10:13.52 --> 00:10:21.44] and install both these idees but I mean [00:10:17.80 --> 00:10:23.60] in this course I will mostly use py Cham [00:10:21.44 --> 00:10:25.44] but we could have used another one also [00:10:23.60 --> 00:10:29.60] that's not a big deal at [00:10:25.44 --> 00:10:32.64] all right and once it is done [00:10:29.60 --> 00:10:36.40] you can then open your IDE you can just [00:10:32.64 --> 00:10:36.40] say uh [00:10:36.44 --> 00:10:42.20] Pam right py Cham Community addition you [00:10:40.52 --> 00:10:45.88] can see [00:10:42.20 --> 00:10:48.80] this and I'm opening py Cham there are [00:10:45.88 --> 00:10:51.08] some already projects which are there in [00:10:48.80 --> 00:10:54.44] my this thing but for you it might be a [00:10:51.08 --> 00:10:56.72] clean slate right it might be a clean [00:10:54.44 --> 00:10:59.80] slate in your [00:10:56.72 --> 00:11:02.44] case let me just plug in the [00:10:59.80 --> 00:11:02.44] uh laptop [00:11:06.12 --> 00:11:11.04] charger okay right and you can always [00:11:09.76 --> 00:11:13.36] click on new [00:11:11.04 --> 00:11:16.24] project you can give the name of project [00:11:13.36 --> 00:11:20.48] let's say I will say [00:11:16.24 --> 00:11:20.48] python python [00:11:21.16 --> 00:11:27.48] complete course that's the name I'm [00:11:24.40 --> 00:11:29.00] giving and uh all of this is fine you [00:11:27.48 --> 00:11:30.64] have to select the python version [00:11:29.00 --> 00:11:33.24] because you have already installed right [00:11:30.64 --> 00:11:35.00] so you should be able to see python 3.12 [00:11:33.24 --> 00:11:38.44] or whatever you have installed you just [00:11:35.00 --> 00:11:41.60] select that out right and say [00:11:38.44 --> 00:11:45.52] create say [00:11:41.60 --> 00:11:47.72] create and this will open up the project [00:11:45.52 --> 00:11:51.64] do not worry about what are the things [00:11:47.72 --> 00:11:55.36] inside this you ignore and in this you [00:11:51.64 --> 00:11:58.96] can create your own python file you can [00:11:55.36 --> 00:12:01.84] right click on this right click and you [00:11:58.96 --> 00:12:05.60] you can say new and here you can say [00:12:01.84 --> 00:12:10.24] python file let me give a name as uh [00:12:05.60 --> 00:12:12.76] session one right session [00:12:10.24 --> 00:12:15.80] one and it will automatically add a [00:12:12.76 --> 00:12:19.80] extension of py because it's a python [00:12:15.80 --> 00:12:23.88] file here I can write in my code you can [00:12:19.80 --> 00:12:27.00] increase the font in uh Mac it is uh [00:12:23.88 --> 00:12:29.88] control shift and [00:12:27.00 --> 00:12:32.76] Dot right to increase the on control [00:12:29.88 --> 00:12:35.68] shift and the dot right and control [00:12:32.76 --> 00:12:38.64] shift comma is to [00:12:35.68 --> 00:12:41.56] reduce right you can check it here by [00:12:38.64 --> 00:12:45.12] the way you can go to [00:12:41.56 --> 00:12:49.12] view uh is it in view yeah you can see [00:12:45.12 --> 00:12:52.60] this control shift dot is to increase [00:12:49.12 --> 00:12:53.84] the font control shift comma is to [00:12:52.60 --> 00:12:57.84] decrease the [00:12:53.84 --> 00:13:02.12] font so I would increase [00:12:57.84 --> 00:13:05.84] it control shift dot right so this is [00:13:02.12 --> 00:13:08.12] where I will type in my code okay same [00:13:05.84 --> 00:13:11.80] way Visual Studio you can open and you [00:13:08.12 --> 00:13:12.72] can uh I will just show you that we use [00:13:11.80 --> 00:13:14.28] Studio [00:13:12.72 --> 00:13:15.92] code [00:13:14.28 --> 00:13:18.36] right [00:13:15.92 --> 00:13:21.52] here I have a lot of projects but you do [00:13:18.36 --> 00:13:24.40] not worry about those I can say new file [00:13:21.52 --> 00:13:29.92] right let's say I can say python file [00:13:24.40 --> 00:13:33.28] and here I can give a name right [00:13:29.92 --> 00:13:36.96] I can just rename this right and here I [00:13:33.28 --> 00:13:39.20] can type in my python code and just [00:13:36.96 --> 00:13:40.80] command plus is to increase the font and [00:13:39.20 --> 00:13:43.52] command minus is to [00:13:40.80 --> 00:13:45.92] decrease I hope this is clear but [00:13:43.52 --> 00:13:48.72] anyways I'm not using I could have [00:13:45.92 --> 00:13:52.04] easily used this I could interchange [00:13:48.72 --> 00:13:54.16] right it's same it's just that this ID [00:13:52.04 --> 00:13:56.84] is provide me a convenient way to write [00:13:54.16 --> 00:13:59.12] a code and py charm and visual studio [00:13:56.84 --> 00:14:01.04] code both are equally good right so [00:13:59.12 --> 00:14:03.28] let's not get confused here but I just [00:14:01.04 --> 00:14:06.96] want to showcase you both these options [00:14:03.28 --> 00:14:10.68] so I have shown Visual Studio code [00:14:06.96 --> 00:14:13.16] also okay now this is my py Cham here [00:14:10.68 --> 00:14:16.48] you can set your color and all U so you [00:14:13.16 --> 00:14:19.28] can say py Cham preferences and you can [00:14:16.48 --> 00:14:21.36] set the appearance like I have set the [00:14:19.28 --> 00:14:24.96] light mode you can go with the dark and [00:14:21.36 --> 00:14:28.52] whatever you want right that's fine so [00:14:24.96 --> 00:14:29.32] this is about the IDE and you can even [00:14:28.52 --> 00:14:32.84] uh [00:14:29.32 --> 00:14:35.76] write your code in a terminal that means [00:14:32.84 --> 00:14:35.76] uh let me increase the [00:14:37.48 --> 00:14:43.84] font uh okay here I can say python if I [00:14:41.76 --> 00:14:45.92] say python I have python 2 also [00:14:43.84 --> 00:14:48.12] installed but python 2 is deprecated you [00:14:45.92 --> 00:14:53.44] should not be using it so I will say [00:14:48.12 --> 00:14:55.64] exit so I will say Python 3 and it will [00:14:53.44 --> 00:14:57.52] just invoke the python version which I [00:14:55.64 --> 00:15:00.64] have installed Python [00:14:57.52 --> 00:15:02.92] 3.2.2 and and here I can write my python [00:15:00.64 --> 00:15:05.40] code right here I can write my python [00:15:02.92 --> 00:15:08.96] code so this is another way of doing it [00:15:05.40 --> 00:15:16.32] I can say 5 + 3 [00:15:08.96 --> 00:15:18.24] sorry 5 + 3 right 5 + 3 eight right so [00:15:16.32 --> 00:15:21.04] it's an interpreted language it does not [00:15:18.24 --> 00:15:23.36] need compilation Works line by line and [00:15:21.04 --> 00:15:26.20] it will give you the results anyways so [00:15:23.36 --> 00:15:27.76] let me close this terminal so I have [00:15:26.20 --> 00:15:31.36] shown you how to execute it on a [00:15:27.76 --> 00:15:35.28] terminal how how to open uh visual code [00:15:31.36 --> 00:15:37.32] Studio and apart from that pyam also now [00:15:35.28 --> 00:15:39.68] let's talk about [00:15:37.32 --> 00:15:42.48] notebooks notebooks are a very very [00:15:39.68 --> 00:15:44.56] convenient way to do exploratory data [00:15:42.48 --> 00:15:47.16] analysis if you want to find inferences [00:15:44.56 --> 00:15:49.52] in some data and all right so you can [00:15:47.16 --> 00:15:52.68] even install it locally but I will show [00:15:49.52 --> 00:15:54.36] you the cloud variants of that so most [00:15:52.68 --> 00:15:56.92] of you I am assuming would be data [00:15:54.36 --> 00:16:00.00] Engineers data scientist data analyst so [00:15:56.92 --> 00:16:03.48] you would or recommended is you can use [00:16:00.00 --> 00:16:06.72] the Community Edition in data breaks [00:16:03.48 --> 00:16:11.36] data breaks data breaks gives you a free [00:16:06.72 --> 00:16:15.72] Community Edition right and here if you [00:16:11.36 --> 00:16:17.12] want to create account this is the URL [00:16:15.72 --> 00:16:20.96] this is the [00:16:17.12 --> 00:16:23.12] URL right datab break.com TR datab [00:16:20.96 --> 00:16:25.40] account this is the URL I'll provide all [00:16:23.12 --> 00:16:27.24] these links to you do not worry in the [00:16:25.40 --> 00:16:29.28] description of this video I would [00:16:27.24 --> 00:16:31.44] provide all this links I filled in the [00:16:29.28 --> 00:16:36.96] basic details you can see I have filled [00:16:31.44 --> 00:16:40.16] in the basic details and now I can say [00:16:36.96 --> 00:16:41.80] continue right and here it says for [00:16:40.16 --> 00:16:44.32] professional use we have to select one [00:16:41.80 --> 00:16:46.84] of the underlying Cloud platform right [00:16:44.32 --> 00:16:48.96] in your case you do not have to do that [00:16:46.84 --> 00:16:50.76] because it will will be chargeable [00:16:48.96 --> 00:16:52.80] rather you have to say get started with [00:16:50.76 --> 00:16:54.84] Community Edition get started with [00:16:52.80 --> 00:16:56.84] Community Edition and then it will ask [00:16:54.84 --> 00:16:59.12] you for more details so that it will [00:16:56.84 --> 00:17:01.40] create an account so that it's very very [00:16:59.12 --> 00:17:03.40] straightforward just like you create a [00:17:01.40 --> 00:17:05.76] new Gmail account right same way you can [00:17:03.40 --> 00:17:10.00] create this and I have shown you the [00:17:05.76 --> 00:17:13.08] steps now after you have created account [00:17:10.00 --> 00:17:16.48] you will get a email and your password [00:17:13.08 --> 00:17:16.48] so let me try logging [00:17:17.12 --> 00:17:23.08] in I have already created account and [00:17:20.52 --> 00:17:23.08] I'm trying to [00:17:24.36 --> 00:17:30.72] login okay so this is free account and I [00:17:28.00 --> 00:17:35.16] am able to to login now I'm able to [00:17:30.72 --> 00:17:37.44] login and you can see I can say create [00:17:35.16 --> 00:17:40.36] notebook and I can give a name to a [00:17:37.44 --> 00:17:45.44] notebook here notebook I name I can [00:17:40.36 --> 00:17:50.08] let's say give uh practice [00:17:45.44 --> 00:17:52.28] notebook right practice notebook and we [00:17:50.08 --> 00:17:55.28] can just say click on connect here [00:17:52.28 --> 00:17:57.24] connect to my cluster and you can create [00:17:55.28 --> 00:17:58.80] attach and run that means it will [00:17:57.24 --> 00:18:01.16] internally create a sing single note [00:17:58.80 --> 00:18:02.68] cluster small cluster it will attach [00:18:01.16 --> 00:18:04.72] your notebook to that cluster so that [00:18:02.68 --> 00:18:06.92] your code can run on that cluster [00:18:04.72 --> 00:18:08.64] because here you are writing your code [00:18:06.92 --> 00:18:10.20] but it needs a place to run right it [00:18:08.64 --> 00:18:11.76] needs environment to run that [00:18:10.20 --> 00:18:15.28] environment will be created using this [00:18:11.76 --> 00:18:17.32] run time and then it will run right so [00:18:15.28 --> 00:18:19.84] it will take a few seconds to create [00:18:17.32 --> 00:18:21.92] this cluster or spin up this cluster and [00:18:19.84 --> 00:18:25.40] then what you can type your python code [00:18:21.92 --> 00:18:27.52] here and this gives you a very good [00:18:25.40 --> 00:18:30.72] visual way of doing things because you [00:18:27.52 --> 00:18:32.60] can write your com you can use markups [00:18:30.72 --> 00:18:34.44] right A lot of it you can save your [00:18:32.60 --> 00:18:37.52] notebooks you can give it to other [00:18:34.44 --> 00:18:40.08] people right all of that is possible so [00:18:37.52 --> 00:18:42.12] anyways we'll talk about that later but [00:18:40.08 --> 00:18:44.36] I hope you would have got a Clarity that [00:18:42.12 --> 00:18:46.56] this is another way where you can [00:18:44.36 --> 00:18:49.84] practice your [00:18:46.56 --> 00:18:52.64] Python and here you you are not limited [00:18:49.84 --> 00:18:55.40] to just python alone here you can even [00:18:52.64 --> 00:18:57.00] use pice Parco data Big Data related [00:18:55.40 --> 00:18:58.96] functionalities if you're using data [00:18:57.00 --> 00:19:00.44] bricks Community Edition [00:18:58.96 --> 00:19:05.08] right [00:19:00.44 --> 00:19:07.04] okay so this idea you would have got now [00:19:05.08 --> 00:19:10.56] now talking about Google collab there [00:19:07.04 --> 00:19:13.52] also you can use Jupiter notebooks so [00:19:10.56 --> 00:19:14.60] you can see this link here cab. [00:19:13.52 --> 00:19:18.76] research. [00:19:14.60 --> 00:19:22.36] google.com here and here if you are uh [00:19:18.76 --> 00:19:25.40] here you can just say file new [00:19:22.36 --> 00:19:27.24] notebook right file new notebook and [00:19:25.40 --> 00:19:30.20] here you can create your own [00:19:27.24 --> 00:19:34.32] notebook here you can create your own [00:19:30.20 --> 00:19:39.36] notebook so you can see this we are [00:19:34.32 --> 00:19:39.36] doing and if I let's say say 5 + [00:19:40.56 --> 00:19:46.08] 3 it will first time it will connect to [00:19:43.28 --> 00:19:49.00] that instance Custer again right it will [00:19:46.08 --> 00:19:51.76] connect to a [00:19:49.00 --> 00:19:54.16] small basically small set of resources [00:19:51.76 --> 00:19:56.20] so that it can execute your code right [00:19:54.16 --> 00:19:59.24] so you can write your python code here [00:19:56.20 --> 00:20:03.24] also you can see this is created Ram it [00:19:59.24 --> 00:20:05.72] says 71 GB used out of 12 GB dis this [00:20:03.24 --> 00:20:08.04] much used out of this so here you have [00:20:05.72 --> 00:20:12.76] got a small instance where your code [00:20:08.04 --> 00:20:16.20] will be executed right so uh I have just [00:20:12.76 --> 00:20:18.72] given you an idea about uh that you can [00:20:16.20 --> 00:20:21.84] practice on a terminal you can practice [00:20:18.72 --> 00:20:24.00] on idees you can practice on notebooks [00:20:21.84 --> 00:20:26.88] all of these ways are there for [00:20:24.00 --> 00:20:29.16] exploratory data analysis notebooks are [00:20:26.88 --> 00:20:32.68] something which are in huge demand [00:20:29.16 --> 00:20:34.48] people keep working on that right so [00:20:32.68 --> 00:20:36.16] here you can give the name let's say [00:20:34.48 --> 00:20:40.44] first [00:20:36.16 --> 00:20:42.24] notebook right okay so with this you [00:20:40.44 --> 00:20:45.28] would have got complete Clarity I would [00:20:42.24 --> 00:20:48.04] provide these links in the comments okay [00:20:45.28 --> 00:20:50.32] so let me proceed we will be using pyam [00:20:48.04 --> 00:20:52.04] for now later we will see we want to [00:20:50.32 --> 00:20:54.32] switch our strategies to using something [00:20:52.04 --> 00:20:56.80] else right [00:20:54.32 --> 00:21:00.32] okay so [00:20:56.80 --> 00:21:02.92] now the tradition what's the tradition [00:21:00.32 --> 00:21:05.24] writing a hello world program but we are [00:21:02.92 --> 00:21:08.12] data Engineers let's not write hello [00:21:05.24 --> 00:21:12.84] world rather say hello data Engineers [00:21:08.12 --> 00:21:14.80] right so write our first Python program [00:21:12.84 --> 00:21:16.76] some of you might be saying suit sir [00:21:14.80 --> 00:21:19.16] this is very very basic we already know [00:21:16.76 --> 00:21:21.16] I understand that but I cannot just [00:21:19.16 --> 00:21:23.56] cover Advanced topics I have to start [00:21:21.16 --> 00:21:26.88] from the basics but take it to a level [00:21:23.56 --> 00:21:29.52] where no one else can take it right okay [00:21:26.88 --> 00:21:32.44] so right our first program as the [00:21:29.52 --> 00:21:36.28] tradition says we want to print hello [00:21:32.44 --> 00:21:40.64] data Engineers so I am let me close all [00:21:36.28 --> 00:21:46.52] of this right let me close all of [00:21:40.64 --> 00:21:49.20] this and I am here in my py CH here I [00:21:46.52 --> 00:21:53.92] will say [00:21:49.20 --> 00:21:56.12] print print and here I will provide [00:21:53.92 --> 00:21:59.56] hello [00:21:56.12 --> 00:22:02.92] data engineers [00:21:59.56 --> 00:22:04.72] semicolon is optional in Python because [00:22:02.92 --> 00:22:07.00] here the intent is that you write less [00:22:04.72 --> 00:22:09.52] code why to write a semicolon when we [00:22:07.00 --> 00:22:13.68] write next statement in a new line it [00:22:09.52 --> 00:22:18.64] recognize with that so I will now run so [00:22:13.68 --> 00:22:18.64] you can either click here or you can say [00:22:18.92 --> 00:22:26.00] controlr controlr hello data Engineers [00:22:22.44 --> 00:22:28.60] so congratulations we have executed our [00:22:26.00 --> 00:22:31.12] first Python program and and this is [00:22:28.60 --> 00:22:34.88] just the start right this is just the [00:22:31.12 --> 00:22:37.16] start of a interesting series that you [00:22:34.88 --> 00:22:39.64] are watching [00:22:37.16 --> 00:22:43.68] right okay [00:22:39.64 --> 00:22:48.36] so let me move this this [00:22:43.68 --> 00:22:50.44] side so print hello data Engineers I'll [00:22:48.36 --> 00:22:53.12] write [00:22:50.44 --> 00:22:56.48] this fine we are [00:22:53.12 --> 00:22:58.96] good now how python code gets executed [00:22:56.48 --> 00:23:01.08] it gets executed line by let's say I'm [00:22:58.96 --> 00:23:03.92] saying print hello data engineers and [00:23:01.08 --> 00:23:08.24] then I'm saying print [00:23:03.92 --> 00:23:11.92] hello world right if I run saying [00:23:08.24 --> 00:23:14.84] controlr it first executes this line and [00:23:11.92 --> 00:23:17.48] then it executes this line so here some [00:23:14.84 --> 00:23:20.60] languages use a compiler some languages [00:23:17.48 --> 00:23:23.24] use a interpreter right so python is a [00:23:20.60 --> 00:23:25.40] interpreted language right it's a [00:23:23.24 --> 00:23:27.20] dynamic language it's not a static [00:23:25.40 --> 00:23:29.40] language it's a dynamic language [00:23:27.20 --> 00:23:34.44] interpreted language and code is [00:23:29.40 --> 00:23:39.04] executed line by line so python is [00:23:34.44 --> 00:23:43.00] interpreted right and code is [00:23:39.04 --> 00:23:45.04] executed line by line if you know Java [00:23:43.00 --> 00:23:47.44] in Java first we compile it and then we [00:23:45.04 --> 00:23:48.84] execute right twostep process here [00:23:47.44 --> 00:23:50.40] directly we are [00:23:48.84 --> 00:23:54.56] executing [00:23:50.40 --> 00:23:57.92] fine so all of this Theory right U but [00:23:54.56 --> 00:23:59.92] anyways we have to cover so this is fine [00:23:57.92 --> 00:24:03.68] fine you have understood how the program [00:23:59.92 --> 00:24:07.40] gets executed now talking about [00:24:03.68 --> 00:24:07.40] variables variables in [00:24:08.04 --> 00:24:12.12] Python variables in [00:24:12.64 --> 00:24:18.72] Python okay so [00:24:15.84 --> 00:24:21.12] now as you would be using some other [00:24:18.72 --> 00:24:23.24] programming languages earlier right [00:24:21.12 --> 00:24:27.52] variables are even used there for [00:24:23.24 --> 00:24:30.76] example uh I will just remove this and I [00:24:27.52 --> 00:24:32.24] will say uh let's say I offer a course [00:24:30.76 --> 00:24:37.08] you know I offer a data engineering [00:24:32.24 --> 00:24:40.84] course and I Define a variable course [00:24:37.08 --> 00:24:42.52] C and let me Define some give some value [00:24:40.84 --> 00:24:45.56] to it let's say [00:24:42.52 --> 00:24:50.84] $800 right [00:24:45.56 --> 00:24:53.48] so this 800 is stored in memory this 800 [00:24:50.84 --> 00:24:58.40] is stored in memory right and the course [00:24:53.48 --> 00:25:01.32] fee identifier points to it right so 800 [00:24:58.40 --> 00:25:04.40] is stored in memory in some way and [00:25:01.32 --> 00:25:06.84] course fee references to it or points to [00:25:04.40 --> 00:25:08.84] it that's how it is and this 800 we have [00:25:06.84 --> 00:25:10.92] assigned to course Fe that's how you [00:25:08.84 --> 00:25:13.20] have to interpret that now if we want to [00:25:10.92 --> 00:25:15.04] print this we can say [00:25:13.20 --> 00:25:20.00] print [00:25:15.04 --> 00:25:22.96] course C right controlr to run it and [00:25:20.00 --> 00:25:26.28] you can see it prints 800 it's fine [00:25:22.96 --> 00:25:28.92] right so just want to tell that this is [00:25:26.28 --> 00:25:31.60] course fee is like a identify are [00:25:28.92 --> 00:25:33.60] identifying this particular thing right [00:25:31.60 --> 00:25:36.60] so 800 is stored in memory course Fe [00:25:33.60 --> 00:25:38.96] points to that understood now let's say [00:25:36.60 --> 00:25:44.72] I Define [00:25:38.96 --> 00:25:46.88] course course fee equal to $850 like say [00:25:44.72 --> 00:25:50.00] right now you might be thinking what are [00:25:46.88 --> 00:25:52.88] we doing we are assigning or reassigning [00:25:50.00 --> 00:25:55.88] a new value to course fee so what should [00:25:52.88 --> 00:25:57.92] it print it should print 800 or 850 it [00:25:55.88 --> 00:25:59.96] should print 850 even with the other [00:25:57.92 --> 00:26:03.96] programming languages it should have [00:25:59.96 --> 00:26:08.04] printed 850 but you might be thinking [00:26:03.96 --> 00:26:10.20] okay course fee I mean I said when we [00:26:08.04 --> 00:26:13.28] stored 800 it was stored in memory at a [00:26:10.20 --> 00:26:14.88] particular address so is the value [00:26:13.28 --> 00:26:16.96] change in that particular [00:26:14.88 --> 00:26:20.84] address is the value change in that [00:26:16.96 --> 00:26:24.20] particular address itself right no it's [00:26:20.84 --> 00:26:26.52] not rather a new variable is created a [00:26:24.20 --> 00:26:28.20] new thing is created alog together in a [00:26:26.52 --> 00:26:33.24] new portion of memory [00:26:28.20 --> 00:26:35.68] right and this thing is actually [00:26:33.24 --> 00:26:38.28] whatever we are doing right now it is [00:26:35.68 --> 00:26:40.32] immutable this is immutable this is a [00:26:38.28 --> 00:26:41.52] integer I will talk about it but this [00:26:40.32 --> 00:26:44.60] this is [00:26:41.52 --> 00:26:47.24] immutable right this is immutable I have [00:26:44.60 --> 00:26:49.44] to define a comment I can say immutable [00:26:47.24 --> 00:26:53.04] I can give a hash that means after that [00:26:49.44 --> 00:26:55.60] whatever value I write becomes a comment [00:26:53.04 --> 00:26:58.04] right that's how you give a single line [00:26:55.60 --> 00:27:01.72] comment actually and you you can give a [00:26:58.04 --> 00:27:04.88] multi-line comment also multi-line [00:27:01.72 --> 00:27:09.52] commment so single line is this single [00:27:04.88 --> 00:27:10.96] line comment multi-line would be if you [00:27:09.52 --> 00:27:15.00] define it inside [00:27:10.96 --> 00:27:19.40] a triple this thing [00:27:15.00 --> 00:27:22.40] right this is a [00:27:19.40 --> 00:27:25.80] multi-line comment right if your comment [00:27:22.40 --> 00:27:29.24] is big and it cannot fit in one line [00:27:25.80 --> 00:27:31.48] then you can use this three times right [00:27:29.24 --> 00:27:34.32] this is how you give a multi-line [00:27:31.48 --> 00:27:37.04] com but I'm saying whatever I've shown [00:27:34.32 --> 00:27:38.68] was immutable so Cod Fe it's not that in [00:27:37.04 --> 00:27:41.52] the same address it has changed the [00:27:38.68 --> 00:27:45.12] value no it internally created a new [00:27:41.52 --> 00:27:48.12] memory location where it fed in 850 and [00:27:45.12 --> 00:27:49.64] cod fee is now pointing to that and this [00:27:48.12 --> 00:27:52.76] 800 would be [00:27:49.64 --> 00:27:56.12] freed I hope this makes [00:27:52.76 --> 00:27:58.40] sense so I'll talk about mutability and [00:27:56.12 --> 00:28:01.28] immutability but when we are data [00:27:58.40 --> 00:28:03.68] Engineers are working in data lines [00:28:01.28 --> 00:28:05.64] immutability has a great great [00:28:03.68 --> 00:28:07.96] significance right has a great great [00:28:05.64 --> 00:28:12.04] significance and you will get to know [00:28:07.96 --> 00:28:14.72] later okay so we are talking about [00:28:12.04 --> 00:28:16.28] variables in Python and we defined this [00:28:14.72 --> 00:28:19.64] now let's [00:28:16.28 --> 00:28:22.52] say let's say I Define multiple [00:28:19.64 --> 00:28:25.48] variables I will remove this commments I [00:28:22.52 --> 00:28:28.88] Define multiple variables let's say I [00:28:25.48 --> 00:28:31.20] say instructor [00:28:28.88 --> 00:28:36.16] name equal [00:28:31.20 --> 00:28:40.36] to Sumit M that's my name right if you [00:28:36.16 --> 00:28:45.32] do not know me that's my name course [00:28:40.36 --> 00:28:47.88] fee course fee equal to let's say [00:28:45.32 --> 00:28:49.68] $800 and [00:28:47.88 --> 00:28:53.64] course [00:28:49.68 --> 00:28:58.80] rating equal to [00:28:53.64 --> 00:29:01.36] 4.95 looks to be a good rating right is [00:28:58.80 --> 00:29:04.48] starting is badge starting soon is [00:29:01.36 --> 00:29:07.32] starting soon I mean is starting soon [00:29:04.48 --> 00:29:11.48] that means is the B starting soon true [00:29:07.32 --> 00:29:13.68] that means yes it is starting and total [00:29:11.48 --> 00:29:15.92] income total [00:29:13.68 --> 00:29:18.72] income total [00:29:15.92 --> 00:29:21.88] income I do not want to reveal so I will [00:29:18.72 --> 00:29:24.40] say none right none means absence of a [00:29:21.88 --> 00:29:27.16] value it shows that the value is not [00:29:24.40 --> 00:29:29.12] present itself right it's not zero it's [00:29:27.16 --> 00:29:30.92] not not zero it says the value is [00:29:29.12 --> 00:29:35.84] missing [00:29:30.92 --> 00:29:38.72] right so I have defined five variables [00:29:35.84 --> 00:29:41.88] and I have assigned some values to [00:29:38.72 --> 00:29:43.84] this right now don't you feel some [00:29:41.88 --> 00:29:46.44] values are different this shows in green [00:29:43.84 --> 00:29:50.32] color this is in blue this is having a [00:29:46.44 --> 00:29:55.32] DOT right so these are different data [00:29:50.32 --> 00:29:58.08] types so there are five main data type [00:29:55.32 --> 00:30:01.04] five main data types although there are [00:29:58.08 --> 00:30:03.48] lot of that but five mean simple data [00:30:01.04 --> 00:30:05.60] types in terms of complex data types we [00:30:03.48 --> 00:30:08.80] have many more we'll talk about it later [00:30:05.60 --> 00:30:11.40] like list tles and all but let's talk [00:30:08.80 --> 00:30:14.92] about simple sober data types which [00:30:11.40 --> 00:30:16.56] stores one value each one value only so [00:30:14.92 --> 00:30:19.20] we have [00:30:16.56 --> 00:30:24.40] integer we have [00:30:19.20 --> 00:30:28.36] float we have Boolean to store uh true [00:30:24.40 --> 00:30:32.08] or a false we have a [00:30:28.36 --> 00:30:34.44] um string right we have a string and we [00:30:32.08 --> 00:30:38.64] have none which represents absence of a [00:30:34.44 --> 00:30:42.60] value integer it stores any numeric [00:30:38.64 --> 00:30:45.56] value + one minus one [00:30:42.60 --> 00:30:49.44] 026 anything right for example here if [00:30:45.56 --> 00:30:51.08] you say 800 is a integer a numeric value [00:30:49.44 --> 00:30:54.16] which do not have any floating point or [00:30:51.08 --> 00:30:56.48] decimal right so it's an integer course [00:30:54.16 --> 00:30:58.32] rating this certainly looks to be a [00:30:56.48 --> 00:30:59.40] floating point where it has decimal [00:30:58.32 --> 00:31:04.32] places in [00:30:59.40 --> 00:31:06.96] it is starting soon so true right so [00:31:04.32 --> 00:31:09.76] true means starting with t Capital right [00:31:06.96 --> 00:31:14.12] it is case sensitive again if I just say [00:31:09.76 --> 00:31:16.20] true it's it it's not uh Boolean right [00:31:14.12 --> 00:31:18.36] so true which takes either true or a [00:31:16.20 --> 00:31:21.00] false I mean Boolean which takes a true [00:31:18.36 --> 00:31:23.36] or a false I have assigned true to it [00:31:21.00 --> 00:31:26.28] right and total income I have mentioned [00:31:23.36 --> 00:31:31.04] as none instructor name I have placed it [00:31:26.28 --> 00:31:37.16] in double Cotes uh and this is a [00:31:31.04 --> 00:31:40.32] string so string integer float Boolean [00:31:37.16 --> 00:31:43.48] none these are the data types but how do [00:31:40.32 --> 00:31:47.60] I I mean how do I prove that these are [00:31:43.48 --> 00:31:53.08] the data types I can do that I can say [00:31:47.60 --> 00:31:54.60] print I can say print and here I can say [00:31:53.08 --> 00:31:57.68] type [00:31:54.60 --> 00:32:00.92] type and I can say instructor [00:31:57.68 --> 00:32:03.12] name right if I just print this it will [00:32:00.92 --> 00:32:06.12] print the type of instructor name I'll [00:32:03.12 --> 00:32:06.12] say [00:32:06.24 --> 00:32:11.60] controlr right control r 1 [00:32:12.72 --> 00:32:18.84] minute you can see [00:32:15.08 --> 00:32:21.76] this this is string class right this is [00:32:18.84 --> 00:32:25.28] string right [00:32:21.76 --> 00:32:29.72] now same way I will do it for all others [00:32:25.28 --> 00:32:29.72] so that you get to know what is [00:32:29.88 --> 00:32:35.80] what we have five variables right so [00:32:32.80 --> 00:32:38.80] instructor name course fee course [00:32:35.80 --> 00:32:40.76] rating for [00:32:38.80 --> 00:32:44.36] p course [00:32:40.76 --> 00:32:48.24] rating and we have starting [00:32:44.36 --> 00:32:49.80] soon is starting soon and what do we [00:32:48.24 --> 00:32:54.00] have total income which I have not [00:32:49.80 --> 00:32:56.36] defined total income so basically none [00:32:54.00 --> 00:32:59.16] is like null in other programming right [00:32:56.36 --> 00:33:02.84] in Java the way you have null consider [00:32:59.16 --> 00:33:04.12] none as similar to that now let me run [00:33:02.84 --> 00:33:07.28] this [00:33:04.12 --> 00:33:09.68] controlr and you can see the first one [00:33:07.28 --> 00:33:13.04] was string we expected that course Fe is [00:33:09.68 --> 00:33:15.44] integer course rating is a float is [00:33:13.04 --> 00:33:17.24] starting soon is a Boolean and total [00:33:15.44 --> 00:33:19.60] income is n [00:33:17.24 --> 00:33:21.44] type I hope this gives you a good [00:33:19.60 --> 00:33:24.00] Clarity let me write it to a notepad so [00:33:21.44 --> 00:33:28.28] that I can share these notes with you [00:33:24.00 --> 00:33:30.68] also later right I hope this would [00:33:28.28 --> 00:33:35.28] totally make sense to you [00:33:30.68 --> 00:33:36.84] right okay now I want to emphasize on [00:33:35.28 --> 00:33:39.92] one thing [00:33:36.84 --> 00:33:42.28] that we can have some type one more [00:33:39.92 --> 00:33:44.96] thing in other programming let's say [00:33:42.28 --> 00:33:47.72] Java and all you would Define it to be a [00:33:44.96 --> 00:33:50.48] integer you will say something like int [00:33:47.72 --> 00:33:52.80] like this but python in Python it's a [00:33:50.48 --> 00:33:55.36] dynamic language it will infer the data [00:33:52.80 --> 00:33:58.04] types at runtime it will infer it at run [00:33:55.36 --> 00:34:00.28] time right so you you do not have to [00:33:58.04 --> 00:34:04.44] explicitly mention the data types it [00:34:00.28 --> 00:34:08.36] will infer it unlike Java [00:34:04.44 --> 00:34:10.00] right okay so talking about type errors [00:34:08.36 --> 00:34:14.04] so for [00:34:10.00 --> 00:34:19.96] example let's say uh let's [00:34:14.04 --> 00:34:22.32] say I want to increase the fee by 50 I [00:34:19.96 --> 00:34:25.88] want to increase the course fee by [00:34:22.32 --> 00:34:30.08] 50 okay so I will just [00:34:25.88 --> 00:34:32.44] say one minute I'll move it little up [00:34:30.08 --> 00:34:34.52] okay I want to increase the course fee [00:34:32.44 --> 00:34:36.92] by 50 so what I can [00:34:34.52 --> 00:34:38.56] do [00:34:36.92 --> 00:34:43.36] print [00:34:38.56 --> 00:34:47.40] print uh I can say course [00:34:43.36 --> 00:34:50.16] fee plus 50 will it work or not will it [00:34:47.40 --> 00:34:54.44] work or not yes it will and what it [00:34:50.16 --> 00:34:57.68] should print it should print 850 nothing [00:34:54.44 --> 00:34:59.88] big about it right nothing [00:34:57.68 --> 00:35:01.28] a big deal about it right you can see [00:34:59.88 --> 00:35:04.36] 850 is [00:35:01.28 --> 00:35:07.36] printed that's fine so we have added an [00:35:04.36 --> 00:35:10.04] integer with another integer and two [00:35:07.36 --> 00:35:13.04] integers definitely we can add now let's [00:35:10.04 --> 00:35:15.44] say the course fee I'm increasing by [00:35:13.04 --> 00:35:19.44] $50.5 this course fee is you know [00:35:15.44 --> 00:35:22.84] integer type 50.5 is you know float type [00:35:19.44 --> 00:35:25.92] can you add integer in a float yes it [00:35:22.84 --> 00:35:28.60] can add and it will internally convert [00:35:25.92 --> 00:35:30.72] this C fee also into a float and then [00:35:28.60 --> 00:35:34.72] add these two so it will make it [00:35:30.72 --> 00:35:37.00] 800.0 and then it will say 50.5 and it [00:35:34.72 --> 00:35:39.00] will add these two so this is automatic [00:35:37.00 --> 00:35:43.36] type conversion which will happen in [00:35:39.00 --> 00:35:44.44] this case controlr and you can see 8505 [00:35:43.36 --> 00:35:47.60] it [00:35:44.44 --> 00:35:50.60] works right [00:35:47.60 --> 00:35:54.28] now what if I [00:35:50.60 --> 00:35:55.80] say instructor name let's say after this [00:35:54.28 --> 00:35:57.60] if I say [00:35:55.80 --> 00:36:01.00] print [00:35:57.60 --> 00:36:06.48] instructor name + one does it really [00:36:01.00 --> 00:36:09.20] make sense to add to add one to a string [00:36:06.48 --> 00:36:12.00] to a numeric value to a string is it [00:36:09.20 --> 00:36:14.36] logical let me just show you that [00:36:12.00 --> 00:36:14.36] control [00:36:14.56 --> 00:36:22.04] n sorry control R right yeah and you can [00:36:18.84 --> 00:36:25.44] see we got a type error we got a type [00:36:22.04 --> 00:36:28.32] error saying can only concatenate string [00:36:25.44 --> 00:36:30.28] to string that means a string you can [00:36:28.32 --> 00:36:32.64] combine with another string but how can [00:36:30.28 --> 00:36:34.44] you add it to an integer that way right [00:36:32.64 --> 00:36:36.72] if I my first name is Sumit and last [00:36:34.44 --> 00:36:38.56] name is m i can concatenate these two so [00:36:36.72 --> 00:36:41.08] that the string becomes Su mital right [00:36:38.56 --> 00:36:43.48] that is concatenation but how can I add [00:36:41.08 --> 00:36:45.96] a arithmetic operation do arithmetic [00:36:43.48 --> 00:36:49.00] operation on that it's not possible but [00:36:45.96 --> 00:36:50.96] one thing you see it ran till this point [00:36:49.00 --> 00:36:52.88] it ran till this point because this was [00:36:50.96 --> 00:36:56.04] correct you saw the result and then it [00:36:52.88 --> 00:36:58.48] failed right so that's why I say it runs [00:36:56.04 --> 00:37:01.92] line by line and wherever it fails [00:36:58.48 --> 00:37:05.12] before that it has already run right and [00:37:01.92 --> 00:37:08.16] such type errors such type errors are [00:37:05.12 --> 00:37:10.36] caught at run time if this was Java this [00:37:08.16 --> 00:37:12.96] would have been caught at compile time [00:37:10.36 --> 00:37:15.88] itself when we compile the program but [00:37:12.96 --> 00:37:18.80] in our case it will not catch these [00:37:15.88 --> 00:37:20.88] errors early we will get a surprise at [00:37:18.80 --> 00:37:25.60] runtime with these [00:37:20.88 --> 00:37:29.12] errors I hope this would make sense [00:37:25.60 --> 00:37:33.12] right just have a look at [00:37:29.12 --> 00:37:36.36] this okay fine so [00:37:33.12 --> 00:37:39.48] now now can you tell me if I remove this [00:37:36.36 --> 00:37:42.76] anyways course fee plus 50.5 so what is [00:37:39.48 --> 00:37:45.24] now new course fee if I [00:37:42.76 --> 00:37:49.96] print [00:37:45.24 --> 00:37:52.76] print the course Fe now what would it [00:37:49.96 --> 00:37:55.28] be what would it be you might be [00:37:52.76 --> 00:37:55.28] thinking it is [00:37:55.60 --> 00:38:00.32] 850.000 never assigned it back to the [00:37:57.68 --> 00:38:02.56] course Fe again it's not updated rather [00:38:00.32 --> 00:38:05.00] we are just printing something but not [00:38:02.56 --> 00:38:06.76] holding it into a next variable so I [00:38:05.00 --> 00:38:10.76] will say [00:38:06.76 --> 00:38:10.76] controlr and you can see [00:38:25.52 --> 00:38:31.20] 850.000 this is what we have to [00:38:28.04 --> 00:38:33.24] do right and now if I print course Fe it [00:38:31.20 --> 00:38:34.88] will print me [00:38:33.24 --> 00:38:37.52] that [00:38:34.88 --> 00:38:39.84] print for [00:38:37.52 --> 00:38:44.24] fee [00:38:39.84 --> 00:38:44.24] right so you can see this now this is [00:38:45.00 --> 00:38:50.04] updated I hope this makes sense what if [00:38:47.72 --> 00:38:54.68] I want to increase the course fee by 10% [00:38:50.04 --> 00:38:54.68] I can just say course fee [00:38:55.12 --> 00:38:58.52] plus course [00:39:00.28 --> 00:39:04.32] into [00:39:01.36 --> 00:39:07.00] 2.1 into 2.1 if I want to increase the [00:39:04.32 --> 00:39:08.64] course fee by 10% earlier it was 800 now [00:39:07.00 --> 00:39:11.72] it will become [00:39:08.64 --> 00:39:13.96] 880 and I will run this so you can see [00:39:11.72 --> 00:39:17.00] this has become 880 [00:39:13.96 --> 00:39:19.00] now right so this might seem to be very [00:39:17.00 --> 00:39:21.04] fundamental but people get confused with [00:39:19.00 --> 00:39:22.64] this small small things right your [00:39:21.04 --> 00:39:25.88] fundamentals should be strong if you [00:39:22.64 --> 00:39:29.20] really want to master things right there [00:39:25.88 --> 00:39:31.44] is no magic around this so with this you [00:39:29.20 --> 00:39:34.28] have understood about this particular [00:39:31.44 --> 00:39:37.80] stuff let me just copy [00:39:34.28 --> 00:39:40.24] it let me just copy it here because I [00:39:37.80 --> 00:39:43.04] would have to give you the notes also [00:39:40.24 --> 00:39:45.56] later so [00:39:43.04 --> 00:39:47.04] fine let me just have the variables [00:39:45.56 --> 00:39:48.28] apart from that let me remove all the [00:39:47.04 --> 00:39:50.76] other [00:39:48.28 --> 00:39:52.56] things so now let's talk about type [00:39:50.76 --> 00:39:54.56] casting you have earlier seen automatic [00:39:52.56 --> 00:39:56.92] type casting where we added a integer to [00:39:54.56 --> 00:39:59.00] a float and integer type casted [00:39:56.92 --> 00:40:01.36] automatically or converted itself to a [00:39:59.00 --> 00:40:03.76] float right we didn't get an error but [00:40:01.36 --> 00:40:05.84] when we added a integer to a string we [00:40:03.76 --> 00:40:07.52] got an error because we cannot do do [00:40:05.84 --> 00:40:12.00] that [00:40:07.52 --> 00:40:15.92] now now let me show you manual type [00:40:12.00 --> 00:40:18.36] casting so in data engineering world [00:40:15.92 --> 00:40:21.44] what would happen is generally you might [00:40:18.36 --> 00:40:24.72] read the data from a text file like a [00:40:21.44 --> 00:40:28.36] CSV right [00:40:24.72 --> 00:40:33.04] so in big data world or data engineering [00:40:28.36 --> 00:40:36.28] world you might read the data from a [00:40:33.04 --> 00:40:40.52] text file from a text file you would [00:40:36.28 --> 00:40:42.44] read now let's say it's in CSV format [00:40:40.52 --> 00:40:44.76] everything would be a string actually [00:40:42.44 --> 00:40:47.36] everything is would be a string for [00:40:44.76 --> 00:40:50.20] example even if you are loading course [00:40:47.36 --> 00:40:53.08] fee it seems a number to you but it will [00:40:50.20 --> 00:40:55.48] be a string course rating will also come [00:40:53.08 --> 00:40:57.24] as a string to you when you are loading [00:40:55.48 --> 00:40:59.04] a text file [00:40:57.24 --> 00:41:02.32] the name text says that everything is a [00:40:59.04 --> 00:41:06.32] text everything is a string right [00:41:02.32 --> 00:41:07.92] everything is string for you that's how [00:41:06.32 --> 00:41:13.44] your file would be [00:41:07.92 --> 00:41:16.88] loaded now if you try to print the data [00:41:13.44 --> 00:41:19.04] type of Corp what would be the data [00:41:16.88 --> 00:41:22.04] type [00:41:19.04 --> 00:41:25.24] print [00:41:22.04 --> 00:41:29.52] type P [00:41:25.24 --> 00:41:32.16] Fe it is string even though visually it [00:41:29.52 --> 00:41:35.44] seems like a numeric value but it's [00:41:32.16 --> 00:41:39.00] wrapped in double quotes it's a string [00:41:35.44 --> 00:41:41.96] right now before doing any operations on [00:41:39.00 --> 00:41:44.56] float on strings sorry floats and [00:41:41.96 --> 00:41:46.60] integers or Boolean you would have to [00:41:44.56 --> 00:41:49.00] manually typ cast it right you would [00:41:46.60 --> 00:41:50.48] have to manually typ cast it so how you [00:41:49.00 --> 00:41:52.92] can do [00:41:50.48 --> 00:41:55.68] that uh so let's say if you have to [00:41:52.92 --> 00:41:58.12] increase the course fee by 10% so course [00:41:55.68 --> 00:42:00.40] fee equal [00:41:58.12 --> 00:42:04.44] to course [00:42:00.40 --> 00:42:06.36] fee uh course fee plus let's say I'm [00:42:04.44 --> 00:42:08.16] doing this way you tell me will this [00:42:06.36 --> 00:42:13.04] work or [00:42:08.16 --> 00:42:15.80] not course Fe into point one if I want [00:42:13.04 --> 00:42:18.00] to increase it by 10% will it work and I [00:42:15.80 --> 00:42:21.00] want to print the updated course [00:42:18.00 --> 00:42:21.00] P [00:42:22.16 --> 00:42:28.52] print for spe will it work no it won't [00:42:26.28 --> 00:42:31.28] it won't can't multiply sequence by non [00:42:28.52 --> 00:42:34.40] in right that means the types didn't [00:42:31.28 --> 00:42:38.68] match right the types didn't match here [00:42:34.40 --> 00:42:41.00] one of that is a in string C Fe is a [00:42:38.68 --> 00:42:43.48] string and then string you are trying to [00:42:41.00 --> 00:42:46.08] multiply by 0.1 does it make sense to [00:42:43.48 --> 00:42:48.96] multiply a string value with 0.1 not at [00:42:46.08 --> 00:42:52.68] all not at all so how to make it work [00:42:48.96 --> 00:42:54.44] you can type cost no by this way you can [00:42:52.68 --> 00:42:56.92] say int [00:42:54.44 --> 00:42:59.40] here you can wrap it in inside a int so [00:42:56.92 --> 00:43:01.80] that you're casting it to a in and then [00:42:59.40 --> 00:43:06.80] you can again type cast this to a [00:43:01.80 --> 00:43:08.76] int right and I know this is a int and [00:43:06.80 --> 00:43:10.48] when I do any operation with float it [00:43:08.76 --> 00:43:12.88] will automatically typ cast this to a [00:43:10.48 --> 00:43:15.72] float and then again this will be [00:43:12.88 --> 00:43:17.80] totally a float when I do any operation [00:43:15.72 --> 00:43:18.96] with int it will be a float now this [00:43:17.80 --> 00:43:21.76] should [00:43:18.96 --> 00:43:24.44] work and I got [00:43:21.76 --> 00:43:27.08] 88.0 if I want to get the answer in [00:43:24.44 --> 00:43:31.12] integer again I can type this to an [00:43:27.08 --> 00:43:35.68] integer I can wrap it inside a [00:43:31.12 --> 00:43:38.48] integer and this will convert it to an [00:43:35.68 --> 00:43:40.36] integer I hope you got what is Type [00:43:38.48 --> 00:43:44.44] casting and how we have done so you have [00:43:40.36 --> 00:43:47.68] understood about type [00:43:44.44 --> 00:43:49.60] casting right let me pick all of this [00:43:47.68 --> 00:43:52.72] and put it [00:43:49.60 --> 00:43:55.24] here so you have understood about the [00:43:52.72 --> 00:43:58.56] type casting that we have done right but [00:43:55.24 --> 00:44:01.28] remember the type casting errors are [00:43:58.56 --> 00:44:02.56] caught at run time not at compile time [00:44:01.28 --> 00:44:04.92] right unlike [00:44:02.56 --> 00:44:07.16] Java so let's talk about string [00:44:04.92 --> 00:44:09.00] concatenation and formatting string [00:44:07.16 --> 00:44:10.80] concatenation and [00:44:09.00 --> 00:44:14.60] formatting [00:44:10.80 --> 00:44:17.56] string conat and [00:44:14.60 --> 00:44:21.76] formatting this is our new [00:44:17.56 --> 00:44:24.32] topic so what if we say plus between two [00:44:21.76 --> 00:44:27.56] strings what if we say plus between two [00:44:24.32 --> 00:44:31.16] strings let's say I Define [00:44:27.56 --> 00:44:31.16] first first [00:44:31.80 --> 00:44:41.08] name first name equal to [00:44:37.48 --> 00:44:45.16] Sumit right and last [00:44:41.08 --> 00:44:46.92] name last name equal [00:44:45.16 --> 00:44:50.32] to [00:44:46.92 --> 00:44:51.84] itel what if I want to add these two [00:44:50.32 --> 00:44:53.20] what if I want to add these two I can [00:44:51.84 --> 00:44:57.68] say [00:44:53.20 --> 00:45:01.40] print first name [00:44:57.68 --> 00:45:04.60] plus last name and I say [00:45:01.40 --> 00:45:08.24] controlr this will give me together [00:45:04.60 --> 00:45:10.28] Sumit mital one word so plus works like [00:45:08.24 --> 00:45:12.92] a concatenation here this works like a [00:45:10.28 --> 00:45:15.04] concatenation it adds two strings that [00:45:12.92 --> 00:45:17.24] way right when you do it for numeric it [00:45:15.04 --> 00:45:19.80] do arithmetic calculation but here now [00:45:17.24 --> 00:45:22.44] it adds like a acts like a concatenation [00:45:19.80 --> 00:45:25.68] operator now I want one space in between [00:45:22.44 --> 00:45:27.92] so what I can do I can just say plus and [00:45:25.68 --> 00:45:31.44] I can give one more string and then [00:45:27.92 --> 00:45:34.32] again one plus right so this will give [00:45:31.44 --> 00:45:37.36] me Sumit space [00:45:34.32 --> 00:45:39.84] m now what if I want to print my first [00:45:37.36 --> 00:45:41.28] name is Sumit and my last name is ml how [00:45:39.84 --> 00:45:43.64] to do [00:45:41.28 --> 00:45:46.68] that [00:45:43.64 --> 00:45:51.12] my my first name [00:45:46.68 --> 00:45:54.88] is my first name [00:45:51.12 --> 00:45:57.72] is and I will [00:45:54.88 --> 00:45:59.92] say first [00:45:57.72 --> 00:46:05.96] name [00:45:59.92 --> 00:46:12.08] right and and my last name [00:46:05.96 --> 00:46:12.08] is right and my last name is I'll [00:46:12.12 --> 00:46:20.00] say last name let me run [00:46:15.52 --> 00:46:25.00] this my first name is Sumit uh where is [00:46:20.00 --> 00:46:28.08] that my first name is Sumit and last [00:46:25.00 --> 00:46:31.84] name is m I will run this [00:46:28.08 --> 00:46:34.64] again so now I have given a space so [00:46:31.84 --> 00:46:38.72] this is fine you can [00:46:34.64 --> 00:46:41.36] check right now but this looks little [00:46:38.72 --> 00:46:45.76] ugly if you have big line this will look [00:46:41.36 --> 00:46:48.64] ugly can you format it neatly yes we can [00:46:45.76 --> 00:46:51.32] we can do it in a better way actually uh [00:46:48.64 --> 00:46:54.60] I can just write F here and my first [00:46:51.32 --> 00:46:54.60] name is I can put a [00:46:54.80 --> 00:46:59.88] placeholder my first name is I'll write [00:46:57.48 --> 00:47:04.84] things here do not worry [00:46:59.88 --> 00:47:06.60] and my last name is this this is a much [00:47:04.84 --> 00:47:11.88] neater way of doing [00:47:06.60 --> 00:47:13.92] it right and here I will say first name [00:47:11.88 --> 00:47:16.80] here I will say last [00:47:13.92 --> 00:47:19.56] name right so this will print my first [00:47:16.80 --> 00:47:21.40] name is so it will put that value first [00:47:19.56 --> 00:47:26.28] name value I have written this F here [00:47:21.40 --> 00:47:28.72] right and my last name is m so this is a [00:47:26.28 --> 00:47:30.04] neater way of doing this let me remove [00:47:28.72 --> 00:47:32.40] this [00:47:30.04 --> 00:47:35.00] line and I will say [00:47:32.40 --> 00:47:37.36] controlr and same thing can be printed [00:47:35.00 --> 00:47:39.56] this way so you have to a code can be [00:47:37.36 --> 00:47:42.36] written in multiple ways but you have to [00:47:39.56 --> 00:47:44.80] do it in the best proper readable manner [00:47:42.36 --> 00:47:47.20] also right optimization is one way [00:47:44.80 --> 00:47:49.32] readability is another way you [00:47:47.20 --> 00:47:54.88] definitely have to focus on [00:47:49.32 --> 00:47:56.28] readability right I can say print uh and [00:47:54.88 --> 00:48:01.76] I will say [00:47:56.28 --> 00:48:04.60] I want to give this let's say six times [00:48:01.76 --> 00:48:06.60] multiply this by six so such iteration I [00:48:04.60 --> 00:48:08.52] want to do six times so this will be [00:48:06.60 --> 00:48:10.52] printed then again this will be printed [00:48:08.52 --> 00:48:15.24] and same way it will Loop in for six [00:48:10.52 --> 00:48:17.52] times and here again I will just put it [00:48:15.24 --> 00:48:17.52] same [00:48:17.96 --> 00:48:23.48] way right and now if I run [00:48:21.16 --> 00:48:25.40] this so you can see this is enclosed [00:48:23.48 --> 00:48:28.44] inside this so I want this line to come [00:48:25.40 --> 00:48:31.44] till here so let's say I will say nine [00:48:28.44 --> 00:48:31.44] here I also I will say [00:48:32.36 --> 00:48:39.56] nine okay right so I hope I just want to [00:48:37.32 --> 00:48:40.84] give you a gist of it right gist of it [00:48:39.56 --> 00:48:42.72] so that you know what things are [00:48:40.84 --> 00:48:45.72] available and how we are doing [00:48:42.72 --> 00:48:47.68] it so you have seen about string [00:48:45.72 --> 00:48:50.72] concatenation and you have seen the [00:48:47.68 --> 00:48:53.08] formatting right that we just indicated [00:48:50.72 --> 00:48:54.60] that and we are able to do it properly [00:48:53.08 --> 00:48:57.08] that is called string [00:48:54.60 --> 00:49:02.16] formatting now what if you want to take [00:48:57.08 --> 00:49:05.52] an input right what if you want to take [00:49:02.16 --> 00:49:08.04] a input from a user that okay please [00:49:05.52 --> 00:49:11.64] enter this number how to take a input in [00:49:08.04 --> 00:49:13.52] Python how to take a input in Python so [00:49:11.64 --> 00:49:17.92] let me just show you [00:49:13.52 --> 00:49:21.36] that so what you can do here is you can [00:49:17.92 --> 00:49:22.68] just say use this input and what should [00:49:21.36 --> 00:49:27.96] be visible to a [00:49:22.68 --> 00:49:32.28] user what is your your current [00:49:27.96 --> 00:49:36.08] salary what is your current salary right [00:49:32.28 --> 00:49:38.12] and I want to whatever person enters [00:49:36.08 --> 00:49:40.88] that value where I want to capture let's [00:49:38.12 --> 00:49:41.72] say inside Sal variable right sell equal [00:49:40.88 --> 00:49:46.16] to [00:49:41.72 --> 00:49:49.48] this I want to ask for hike also I want [00:49:46.16 --> 00:49:53.64] to capture that also from a user input [00:49:49.48 --> 00:49:57.36] input what is the hike [00:49:53.64 --> 00:49:59.68] percentage right what is the hike [00:49:57.36 --> 00:50:03.80] percentage okay these two user inputs [00:49:59.68 --> 00:50:08.56] are there sing and Hike now I want to [00:50:03.80 --> 00:50:15.16] get calculate a new salary so new salary [00:50:08.56 --> 00:50:17.16] new salary equal to new salary equal to [00:50:15.16 --> 00:50:19.92] salary [00:50:17.16 --> 00:50:21.96] plus [00:50:19.92 --> 00:50:23.68] salary plus [00:50:21.96 --> 00:50:27.12] Sal [00:50:23.68 --> 00:50:28.84] into and whatever is my hike percentage [00:50:27.12 --> 00:50:31.52] divided by 100 right hike percentage [00:50:28.84 --> 00:50:33.88] let's say 10% divided by 100 that's how [00:50:31.52 --> 00:50:36.40] it will be do you feel it will [00:50:33.88 --> 00:50:39.48] work do you feel it will work let me run [00:50:36.40 --> 00:50:44.44] this it ask me what is your current [00:50:39.48 --> 00:50:44.44] salary let me put let's say [00:50:44.48 --> 00:50:50.36] 10,000 what is the hike percentage let [00:50:47.28 --> 00:50:51.20] me put 20% and as soon as I press enter [00:50:50.36 --> 00:50:56.44] this will [00:50:51.20 --> 00:50:58.12] fail this will fail why why because [00:50:56.44 --> 00:50:59.44] whenever whatever inputs we are taking [00:50:58.12 --> 00:51:02.20] even though we are giving in numeric [00:50:59.44 --> 00:51:04.92] form it takes always a string like a [00:51:02.20 --> 00:51:08.08] text you would have to typ cast it how [00:51:04.92 --> 00:51:10.36] can you do a divide operator with a [00:51:08.08 --> 00:51:14.04] string you cannot so you would have to [00:51:10.36 --> 00:51:16.04] manually do a typ cast to a integer [00:51:14.04 --> 00:51:18.32] right so what I could have done here I [00:51:16.04 --> 00:51:22.64] could have said in [00:51:18.32 --> 00:51:22.64] Sal right [00:51:23.44 --> 00:51:30.40] inik inik [00:51:26.96 --> 00:51:32.20] right and here also int there could be [00:51:30.40 --> 00:51:35.12] better way of doing it but I'm just [00:51:32.20 --> 00:51:39.32] showing you all whatever is [00:51:35.12 --> 00:51:41.60] there right now this should work so this [00:51:39.32 --> 00:51:43.44] I will show [00:51:41.60 --> 00:51:48.08] controlr [00:51:43.44 --> 00:51:52.52] uh salary uh let's say [00:51:48.08 --> 00:51:54.60] 10,000 now hike percentage 20 and of [00:51:52.52 --> 00:51:57.12] course I didn't printed the value so let [00:51:54.60 --> 00:51:59.32] me quickly print also [00:51:57.12 --> 00:52:01.76] print new [00:51:59.32 --> 00:52:04.76] SEL new [00:52:01.76 --> 00:52:04.76] SEL [00:52:06.04 --> 00:52:09.76] right print [00:52:10.72 --> 00:52:17.76] new salary and I will say [00:52:14.40 --> 00:52:19.88] controlr what is my salary 20,000 or [00:52:17.76 --> 00:52:24.28] what 10,000 [00:52:19.88 --> 00:52:27.16] right like percentage 20 and this is my [00:52:24.28 --> 00:52:28.76] total right so we have to manually type [00:52:27.16 --> 00:52:31.64] Cass this [00:52:28.76 --> 00:52:34.92] way and what if I want to print it [00:52:31.64 --> 00:52:41.28] meaningfully uh the new salary after the [00:52:34.92 --> 00:52:45.00] hike is so I can say that the new [00:52:41.28 --> 00:52:46.72] salary after the [00:52:45.00 --> 00:52:51.12] hike [00:52:46.72 --> 00:52:57.48] is and here I can give this [00:52:51.12 --> 00:52:59.96] new s right and this looks to be fine [00:52:57.48 --> 00:53:02.68] I'll just again run [00:52:59.96 --> 00:53:04.60] this [00:53:02.68 --> 00:53:09.52] 10,000 [00:53:04.60 --> 00:53:12.40] 20 the new salary after the hike is [00:53:09.52 --> 00:53:16.40] 12,000 right so you have got to know how [00:53:12.40 --> 00:53:18.36] we uh kind of do it we have talked about [00:53:16.40 --> 00:53:20.12] commments and multi-line command so what [00:53:18.36 --> 00:53:23.08] have we learned till now we have [00:53:20.12 --> 00:53:25.60] actually covered up big ground I mean we [00:53:23.08 --> 00:53:27.96] have taken the initial step of learning [00:53:25.60 --> 00:53:30.52] Python and we have covered quite a few [00:53:27.96 --> 00:53:33.52] things what have we learned can you [00:53:30.52 --> 00:53:35.60] recall what have we learned let me [00:53:33.52 --> 00:53:37.40] recall that we have done the [00:53:35.60 --> 00:53:40.68] introduction to python that why we [00:53:37.40 --> 00:53:42.72] should learn right the advantages of it [00:53:40.68 --> 00:53:44.96] all of that you got to know about me as [00:53:42.72 --> 00:53:47.00] an instructor Sumit ml right you got to [00:53:44.96 --> 00:53:51.04] know that I offer Big Data trainings all [00:53:47.00 --> 00:53:54.32] of that now we talked about [00:53:51.04 --> 00:53:56.00] installing Python 3 right python 2 is [00:53:54.32 --> 00:53:57.60] deprecated I I won't recommend you to [00:53:56.00 --> 00:54:00.00] work on that and I have shown you [00:53:57.60 --> 00:54:02.28] multiple ways to install right multiple [00:54:00.00 --> 00:54:06.12] ways because you should be familiar with [00:54:02.28 --> 00:54:09.72] most of those we wrote our first [00:54:06.12 --> 00:54:13.00] program to maintain that tradition right [00:54:09.72 --> 00:54:16.16] of hello world we talked about what is a [00:54:13.00 --> 00:54:18.96] variable we talked about data [00:54:16.16 --> 00:54:21.44] types right then what did we talk about [00:54:18.96 --> 00:54:23.72] we talked about the type errors are [00:54:21.44 --> 00:54:26.80] caught at runtime I have demonstrated [00:54:23.72 --> 00:54:29.40] that type errors [00:54:26.80 --> 00:54:33.56] are [00:54:29.40 --> 00:54:37.32] CAU at run time this was demonstrated to [00:54:33.56 --> 00:54:39.84] you and then I showed you type casting [00:54:37.32 --> 00:54:42.24] how to change one type to [00:54:39.84 --> 00:54:46.52] another then we talked [00:54:42.24 --> 00:54:50.00] about string [00:54:46.52 --> 00:54:50.00] concatenation right and [00:54:50.08 --> 00:54:56.32] formatting and then we talked about how [00:54:53.04 --> 00:55:00.76] to take input from the [00:54:56.32 --> 00:55:04.68] user right from the user so this is what [00:55:00.76 --> 00:55:07.08] we have talked about so for this session [00:55:04.68 --> 00:55:08.92] we have covered all of this idly I would [00:55:07.08 --> 00:55:10.68] be giving assignment for each session [00:55:08.92 --> 00:55:13.12] but since this was a starting session I [00:55:10.68 --> 00:55:16.16] want to keep it light the only [00:55:13.12 --> 00:55:18.92] assignment for you would be to set up [00:55:16.16 --> 00:55:20.88] python on your local and practice all of [00:55:18.92 --> 00:55:22.48] this the way I have shown you because if [00:55:20.88 --> 00:55:24.76] you just keep seeing the videos it's not [00:55:22.48 --> 00:55:27.32] going to help so assignment for you is [00:55:24.76 --> 00:55:29.04] in install python practice all of this [00:55:27.32 --> 00:55:31.24] from next session onwards I will be [00:55:29.04 --> 00:55:35.32] giving you assignments to solve with [00:55:31.24 --> 00:55:37.40] each session right so if you have not [00:55:35.32 --> 00:55:39.68] yet subscribed to my YouTube channel do [00:55:37.40 --> 00:55:41.08] subscribe now because in my next session [00:55:39.68 --> 00:55:44.12] I'll talk [00:55:41.08 --> 00:55:45.76] about various types of operators and the [00:55:44.12 --> 00:55:47.96] string related operations which are [00:55:45.76 --> 00:55:50.92] super super important indexing slicing [00:55:47.96 --> 00:55:54.44] and a lot more and if you have not seen [00:55:50.92 --> 00:55:56.60] my SQL playlist till now then I highly [00:55:54.44 --> 00:55:59.80] encourage you to see that I would [00:55:56.60 --> 00:56:01.36] provide the link in the description do [00:55:59.80 --> 00:56:03.44] mention if you have any suggestions in [00:56:01.36 --> 00:56:05.96] the comments or if you're facing any [00:56:03.44 --> 00:56:09.24] issues with the installation I'll try my [00:56:05.96 --> 00:56:12.56] best to help you out I have taken a firm [00:56:09.24 --> 00:56:14.32] step where with a very positive intent I [00:56:12.56 --> 00:56:16.80] just want to make sure that this course [00:56:14.32 --> 00:56:20.20] is better than paid courses right and [00:56:16.80 --> 00:56:22.76] let's see how far we can go and do [00:56:20.20 --> 00:56:24.68] encourage me by subscribing to my [00:56:22.76 --> 00:56:27.48] channel liking the video commenting on [00:56:24.68 --> 00:56:30.12] it talking about it on social media [00:56:27.48 --> 00:56:32.64] right and I would come up with the next [00:56:30.12 --> 00:56:34.68] session very soon thanks a lot and I [00:56:32.64 --> 00:56:37.80] hope you would have truly truly enjoyed [00:56:34.68 --> 00:56:40.16] the session I have tried my best to [00:56:37.80 --> 00:56:44.52] cover things in as simple way as [00:56:40.16 --> 00:56:44.52] possible thanks a lot