1 00:00:00,150 --> 00:00:03,850 Hello, guys, and welcome back to the lower class of our course about the complete introduction to 2 00:00:03,850 --> 00:00:06,310 the science with the use of Python. 3 00:00:06,930 --> 00:00:13,200 So in this class, we are still going to talk about SkyBitz and how all this works, but basically how 4 00:00:13,200 --> 00:00:13,620 it works. 5 00:00:13,630 --> 00:00:17,920 Skyfire, which is another tool inside of Python. 6 00:00:17,960 --> 00:00:19,420 So basically Python Library. 7 00:00:20,610 --> 00:00:22,350 So what we'll do today is pretty simple. 8 00:00:22,350 --> 00:00:28,470 We are going to work with Skype as well as Numberi, and we are going to work with another package of 9 00:00:28,470 --> 00:00:30,250 Skype, which is called for you. 10 00:00:30,780 --> 00:00:34,390 So we are going to make a full transformation for you. 11 00:00:34,850 --> 00:00:37,650 So basically for those who don't know what is it for you? 12 00:00:37,650 --> 00:00:43,980 Analysis is a method for expressing a function as a sum of periodic components and for recovering the 13 00:00:43,980 --> 00:00:45,660 signals from those components. 14 00:00:45,720 --> 00:00:48,960 This is simply the main terminology of it. 15 00:00:49,830 --> 00:00:55,770 So basically it provides a way to replace a number of functions and Skype with its own functions, which 16 00:00:55,770 --> 00:01:00,960 are usually significantly faster via by 50. 17 00:01:01,350 --> 00:01:04,080 So basically with this package interface. 18 00:01:05,190 --> 00:01:05,600 All right. 19 00:01:06,000 --> 00:01:08,580 So basically how all this would work is pretty simple. 20 00:01:09,020 --> 00:01:16,320 We are going to use the 50 sub package to be able to perform this transformation and to be able to perform 21 00:01:16,320 --> 00:01:17,520 this transformation as well. 22 00:01:17,550 --> 00:01:19,900 We are going to require an. 23 00:01:20,340 --> 00:01:24,330 So basically we are going to work with an array number. 24 00:01:24,420 --> 00:01:28,020 So we will need to import Skype as well as numbers. 25 00:01:28,050 --> 00:01:33,510 So basically, before we even start this, you guys need to check in your settings if you have important 26 00:01:33,510 --> 00:01:37,740 numbers and if you have Skype, usually normally you should have both of them. 27 00:01:38,670 --> 00:01:39,050 All right. 28 00:01:39,960 --> 00:01:43,660 So first thing that will do, import Skype, as we always do. 29 00:01:43,680 --> 00:01:52,850 So just import what exactly will the import import Skype as spe then what exactly we need to import, 30 00:01:53,430 --> 00:02:01,350 we need to import the library so we'll just import numpty as well as ENPI. 31 00:02:02,540 --> 00:02:07,100 So right now, we have imported the two libraries that we need and next thing that we need, we need 32 00:02:07,100 --> 00:02:10,010 to import the sub package that is inside of SCoPI. 33 00:02:10,030 --> 00:02:17,490 So in this case, what some package will need will need 50 sub package to be able to run this transformation. 34 00:02:18,170 --> 00:02:19,180 So pretty simple. 35 00:02:19,190 --> 00:02:20,530 We will just write it down. 36 00:02:20,540 --> 00:02:27,240 So from Skype, we want to import the 50 sub package. 37 00:02:27,260 --> 00:02:35,900 So right now we have imported 50 some package from Skype and we will be able to use it from this moment. 38 00:02:35,900 --> 00:02:38,850 When I do right now, we want to create our first area. 39 00:02:38,890 --> 00:02:43,970 So basically we will create a two dimensional aristo for those who don't remember how to create an array. 40 00:02:44,000 --> 00:02:46,370 It's pretty simple what we need. 41 00:02:46,370 --> 00:02:49,530 At first, we need to create a variable where we will store our area. 42 00:02:49,550 --> 00:02:55,340 So the name of their variable will be the one, as always, and we'll create our area. 43 00:02:55,370 --> 00:02:57,320 So basically we will start with ENPI. 44 00:02:57,320 --> 00:03:02,270 So we are making a reference to number by fire and DOT. 45 00:03:02,390 --> 00:03:08,690 And then since we are making this reference to company, we want to write down the function that will 46 00:03:08,690 --> 00:03:09,470 use in this case. 47 00:03:09,470 --> 00:03:17,150 We'll use the functionality, we open up the parenthesis and we can write down are. 48 00:03:17,450 --> 00:03:19,330 So basically we will do as we always do. 49 00:03:19,340 --> 00:03:21,820 So even and odd numbers are two, four, six. 50 00:03:21,920 --> 00:03:23,260 This is what I usually do. 51 00:03:23,930 --> 00:03:27,860 If you guys want to write down other numbers, it's up to you. 52 00:03:28,850 --> 00:03:30,830 So one, three, five. 53 00:03:31,010 --> 00:03:33,280 So basically we have a two dimensional, as you can see. 54 00:03:34,430 --> 00:03:39,620 All right, so what we'll do right now, usually to be sure that everything works fine, I like to print 55 00:03:39,620 --> 00:03:43,100 my area, so we'll print it and look what it looks like. 56 00:03:43,130 --> 00:03:48,410 So basically, if we don't make a mistake or if there is no problem and if there is a problem, we can 57 00:03:48,410 --> 00:03:48,800 correct it. 58 00:03:48,800 --> 00:03:50,170 So you can see there is a problem here. 59 00:03:50,510 --> 00:03:54,470 I wrote dots instead of commas, so I'll correct it. 60 00:03:56,180 --> 00:03:58,580 So what we'll do right now, we'll just rerun the app. 61 00:03:59,540 --> 00:04:01,820 And as you can see right now, it works pretty fine. 62 00:04:01,830 --> 00:04:02,900 So that's amazing. 63 00:04:03,440 --> 00:04:03,770 All right. 64 00:04:03,780 --> 00:04:09,680 So right now we have our first variable, which is our iris or iris inside of our variables. 65 00:04:09,980 --> 00:04:11,140 What to do right now? 66 00:04:11,150 --> 00:04:17,750 We want to create a second variable which will be used to make the transformation, let's call it in 67 00:04:17,750 --> 00:04:20,090 this case, trends one. 68 00:04:20,130 --> 00:04:21,800 So this will be transformation one. 69 00:04:23,120 --> 00:04:25,850 So instead of transforming, what we'll do will use the function. 70 00:04:25,850 --> 00:04:29,720 FFE so pretty simple how exactly we use it. 71 00:04:30,080 --> 00:04:33,830 We want to use a Skype function. 72 00:04:33,830 --> 00:04:37,460 So spe function that is in this package. 73 00:04:37,460 --> 00:04:40,990 FFE so ffe basically Ifti. 74 00:04:41,450 --> 00:04:41,840 All right. 75 00:04:41,850 --> 00:04:45,050 So from this moment what we'll do right now is pretty simple. 76 00:04:45,590 --> 00:04:52,820 We want to make this transformation to our variable veigar one, which is just there. 77 00:04:52,820 --> 00:04:55,560 So you can see our vair one is right here. 78 00:04:56,450 --> 00:04:59,680 So from this moment we want to print right now, we want to print trends. 79 00:04:59,750 --> 00:05:05,150 One, since we we made a transformation to the air one. 80 00:05:05,150 --> 00:05:06,710 So we have our area right here. 81 00:05:07,100 --> 00:05:08,870 Here in this line of code. 82 00:05:08,870 --> 00:05:13,120 We are making our transformation via this operation right here. 83 00:05:13,130 --> 00:05:19,580 So we are applying this operation right here to this function right here, to this label right here. 84 00:05:20,240 --> 00:05:23,150 So we want to do right now, we simply want to run everything. 85 00:05:23,510 --> 00:05:27,890 And as you can see, the transformation have been made work. 86 00:05:27,910 --> 00:05:29,050 So it works pretty fine. 87 00:05:29,480 --> 00:05:32,750 So this would be the end of the operation. 88 00:05:32,990 --> 00:05:33,800 So let's get to see you guys. 89 00:05:33,800 --> 00:05:38,360 This is exactly how we can do a four year transformation way for your analysis. 90 00:05:38,360 --> 00:05:40,880 So you can see it's pretty simple to do. 91 00:05:41,780 --> 00:05:42,170 All right. 92 00:05:42,440 --> 00:05:44,540 So I hope you guys understood everything. 93 00:05:44,540 --> 00:05:45,770 It's not that complicated. 94 00:05:45,770 --> 00:05:50,960 And I hope you guys saw that you can use non-pay as well as Skype together. 95 00:05:51,320 --> 00:05:52,460 So that's it for us guys, guys. 96 00:05:52,460 --> 00:05:54,560 And see you all in our next class.