1 00:00:00,330 --> 00:00:03,450 Hello everyone and welcome to the 0 2 mastery. 2 00:00:03,480 --> 00:00:05,430 Email GitHub repo. 3 00:00:05,490 --> 00:00:10,280 Now if you're looking at this video that you're watching and you do visit this you are all here. 4 00:00:10,300 --> 00:00:14,800 Get hub dot com slash Mr. Burke slash zero to mastering email. 5 00:00:14,850 --> 00:00:17,040 You might notice that this rebate has changed. 6 00:00:17,040 --> 00:00:22,320 And that's because this course is continually being built and continually being developed and so as 7 00:00:22,320 --> 00:00:25,530 things get added and changed it the folder structure here. 8 00:00:25,710 --> 00:00:31,040 The raid means may change but the work process we're about to follow won't. 9 00:00:31,050 --> 00:00:35,070 And now the particular work process where we're following is throughout the course. 10 00:00:35,130 --> 00:00:41,680 You may notice that we use Jupiter notebooks a whole bunch because Jupiter notebooks are the workspace 11 00:00:41,700 --> 00:00:44,250 for a data scientist or machine learning engineer. 12 00:00:44,940 --> 00:00:51,270 And so if you wanted to download everything in there Skeet hub Ripa you could follow the clone or download 13 00:00:51,540 --> 00:00:52,800 a little section here. 14 00:00:52,970 --> 00:00:57,960 But maybe you want to work on one particular notebook you don't want everything so you just want to 15 00:00:57,960 --> 00:01:02,920 access one notebook maybe it's part of the exercise or the assignment. 16 00:01:02,950 --> 00:01:04,440 Let me show you how you could do that. 17 00:01:04,450 --> 00:01:07,300 Let's say we want to do the panda's exercises notebook. 18 00:01:07,330 --> 00:01:13,820 We want to work on that so we'll click on this one hand is exercise we got this you are all here if 19 00:01:13,840 --> 00:01:20,930 we wanted to download this one particular folder this one particular file we can go click on this roll 20 00:01:20,930 --> 00:01:26,240 button and then what we're going to do is gonna bring up all these text but that really doesn't make 21 00:01:26,240 --> 00:01:26,920 sense to us. 22 00:01:26,930 --> 00:01:30,170 So we'll find a way to to make it make sense. 23 00:01:30,290 --> 00:01:39,020 We'll go file save pages and I've got a folder on my desktop called AML course and I'm gonna save this 24 00:01:39,590 --> 00:01:45,080 into my email cause photo where I'm working on all of the course materials you may have some sort of 25 00:01:45,080 --> 00:01:46,150 folder like this. 26 00:01:46,910 --> 00:01:50,890 And I'm gonna save it into the sample project folder. 27 00:01:50,970 --> 00:01:53,920 It's gonna keep it with that file name. 28 00:01:53,930 --> 00:01:58,800 So save beautiful that's gonna download and I'm gonna open up a terminal. 29 00:01:59,460 --> 00:02:03,060 Well let's see how we'd access that one particular Jupiter notebook. 30 00:02:03,680 --> 00:02:06,350 So what I'm gonna do I'm gonna change directory to my desktop. 31 00:02:08,240 --> 00:02:15,530 And then to my email cause folder and then again to the sample project folder where I just downloaded 32 00:02:15,680 --> 00:02:19,140 my press lens I should have pandas exercise is done. 33 00:02:19,160 --> 00:02:25,190 I Pi I pi and b dot text which is this text file here. 34 00:02:25,260 --> 00:02:28,120 So how would I access is to work on it. 35 00:02:28,220 --> 00:02:34,430 But what I'm going to have to do is activate my anaconda environment so if I go contact activate and 36 00:02:34,430 --> 00:02:37,940 if you're not sure what this means don't worry I will cover this as well. 37 00:02:37,940 --> 00:02:41,050 I'm just showing you how you access one particular notebook. 38 00:02:42,140 --> 00:02:49,100 So in other in in a summary a condo environment is a collection of tools to work on data science and 39 00:02:49,100 --> 00:02:50,800 machine learning projects. 40 00:02:50,900 --> 00:02:53,000 So uses mine is stored here. 41 00:02:53,000 --> 00:03:00,920 Daniel desktop email calls door sample project slash. 42 00:03:01,180 --> 00:03:03,170 And so it's this little file here. 43 00:03:03,210 --> 00:03:05,400 This is what I'm trying to activate now. 44 00:03:05,450 --> 00:03:06,220 Hit enter there. 45 00:03:06,240 --> 00:03:10,620 You'll notice it changes from base to this fall apart here. 46 00:03:10,620 --> 00:03:11,100 Beautiful. 47 00:03:11,100 --> 00:03:16,710 And since I have my environment activated I'm able to access the Jupiter notebook too. 48 00:03:17,010 --> 00:03:24,090 So if I hit that this is going to light up the the Jupiter notebook server running on my computer. 49 00:03:24,460 --> 00:03:27,240 And you might notice we've got pandas exercises. 50 00:03:27,240 --> 00:03:33,080 This is that file we downloaded just before here pandas exercise is done the I Spy why notebook. 51 00:03:33,510 --> 00:03:36,170 And B is for notebook and we've got some other ones here. 52 00:03:36,540 --> 00:03:39,850 I've got a little different symbol right. 53 00:03:39,850 --> 00:03:45,170 So this i pi and based into a Python notebook or Jupiter notebook. 54 00:03:45,190 --> 00:03:47,800 Now how would we convert that into one of these. 55 00:03:47,800 --> 00:03:48,950 Let's see. 56 00:03:49,000 --> 00:03:56,540 We just open this up an easy way to do it is just by changing removing the DOT text extension and clicking 57 00:03:56,540 --> 00:04:00,030 Okay and then hitting command s all. 58 00:04:00,060 --> 00:04:01,610 Actually we don't even need to do that. 59 00:04:01,730 --> 00:04:05,030 It's going to update itself automatically we come back to here. 60 00:04:05,180 --> 00:04:05,730 Beautiful. 61 00:04:05,730 --> 00:04:07,610 You notice that pandas exercise. 62 00:04:07,610 --> 00:04:12,020 I pi and b has now changed to this little book symbol. 63 00:04:12,020 --> 00:04:22,020 So if we close this and reopen this notebook what we can see is we've got an individual notebook downloaded 64 00:04:22,020 --> 00:04:26,880 from GitHub and running on our computer now we check to see if this works. 65 00:04:26,880 --> 00:04:30,950 Input pandas as PDA shifting into wonderful. 66 00:04:30,950 --> 00:04:32,790 So that cell is run without error. 67 00:04:32,880 --> 00:04:35,020 So Mark delete that because we don't need that. 68 00:04:35,160 --> 00:04:39,720 Now you might be thinking if you've just gone through this you might be thinking wow Daniel that's a 69 00:04:39,720 --> 00:04:40,820 whole bunch of steps. 70 00:04:40,830 --> 00:04:44,850 But don't worry as you work through the course you will get more and more familiar with that kind of 71 00:04:44,850 --> 00:04:46,260 workflow that we just went through. 72 00:04:46,650 --> 00:04:49,660 However if you'd like to get started far quicker. 73 00:04:49,680 --> 00:04:50,610 There is another way. 74 00:04:51,270 --> 00:05:01,950 So we're going to come back to here and one way you can do that is by going into whichever notebook 75 00:05:01,980 --> 00:05:06,270 you want to open and we're going to copy the U.R.L.. 76 00:05:06,320 --> 00:05:08,780 So in this case it's just the exact same one as before. 77 00:05:08,840 --> 00:05:11,660 Pandas exercise is done IPO envy. 78 00:05:11,770 --> 00:05:18,060 And we're gonna go to a little tool called co lab and now this is made by Google and so the folks at 79 00:05:18,060 --> 00:05:24,210 Google had this problem like we're having now and Jupiter notebooks as amazing as they are can be a 80 00:05:24,210 --> 00:05:26,850 little little bit hard to get started get running. 81 00:05:26,850 --> 00:05:32,610 And so Google what they've done is they've created a tool called co lab which is essentially Jupiter 82 00:05:32,610 --> 00:05:34,320 notebooks in Google Drive. 83 00:05:34,350 --> 00:05:38,170 So you will need a Google account to do this little workflow. 84 00:05:38,190 --> 00:05:43,590 But what you can do is go to this Web site here and what we can see we've got my google drive there. 85 00:05:43,590 --> 00:05:51,780 But we've also got GitHub so I can copy this you are all of this pandas practice Jupiter notebook come 86 00:05:51,780 --> 00:05:59,220 back to collab lab go to the github tab and enter the you are all there and if everything's working 87 00:05:59,220 --> 00:06:08,770 correctly code labs should automatically take all of this information from the Jupiter notebook on github. 88 00:06:09,100 --> 00:06:09,810 There we go. 89 00:06:09,820 --> 00:06:11,940 I should have pressed into when I hit that in there. 90 00:06:12,370 --> 00:06:15,540 So if we come in here this is the one we want. 91 00:06:15,550 --> 00:06:16,830 So there's a little tidbit. 92 00:06:16,840 --> 00:06:21,450 Make sure you press enter when you copy the link and there we go. 93 00:06:22,170 --> 00:06:31,430 So now we've got Adji but a notebook from here in a Google CoreLogic notebook and he's running exactly 94 00:06:31,610 --> 00:06:32,780 basically the exact same. 95 00:06:32,780 --> 00:06:36,650 They've got it they look a little different to a traditional Jeep notebook but this is because they've 96 00:06:36,650 --> 00:06:37,640 got Google style. 97 00:06:38,150 --> 00:06:43,950 So we go import we run that exact same code import pandas as a warning. 98 00:06:43,950 --> 00:06:45,870 This notebook was not authored by Google. 99 00:06:45,870 --> 00:06:50,810 This notebook has been led from GitHub my request to access your data stored within Google or read data 100 00:06:50,810 --> 00:06:54,630 and credentials please review the source code before executing this notebook. 101 00:06:55,320 --> 00:06:58,950 So that's something you might have to if there are any warnings like that. 102 00:06:58,950 --> 00:07:04,650 Make sure you read through them but otherwise you can notice that this notebook is working perfectly. 103 00:07:04,650 --> 00:07:13,480 After just copying the URL from GitHub and typing it into collab research took Google dot com and if 104 00:07:13,480 --> 00:07:20,440 you want to open something get hub copy the U.R.L. hit enter and then click on the notebook you'd like 105 00:07:20,440 --> 00:07:21,640 to open. 106 00:07:21,640 --> 00:07:26,230 In this case would just open the exact same one and there we go. 107 00:07:26,350 --> 00:07:29,850 We can get started running coding nice and easy. 108 00:07:29,990 --> 00:07:31,720 So that's just a little tidbit. 109 00:07:31,810 --> 00:07:36,310 Remember if you do refer back to the 0 to mastery email it hub and it looks a little different to what 110 00:07:36,310 --> 00:07:37,480 you've seen in this video. 111 00:07:37,480 --> 00:07:38,360 Don't worry too much. 112 00:07:38,370 --> 00:07:42,940 It's just because as we go we're updating and continually adding new and updated content.