Hello everyone and welcome to the 0 2 mastery.
Email GitHub repo.
Now if you're looking at this video that you're watching and you do visit this you are all here.
Get hub dot com slash Mr. Burke slash zero to mastering email.
You might notice that this rebate has changed.
And that's because this course is continually being built and continually being developed and so as
things get added and changed it the folder structure here.
The raid means may change but the work process we're about to follow won't.
And now the particular work process where we're following is throughout the course.
You may notice that we use Jupiter notebooks a whole bunch because Jupiter notebooks are the workspace
for a data scientist or machine learning engineer.
And so if you wanted to download everything in there Skeet hub Ripa you could follow the clone or download
a little section here.
But maybe you want to work on one particular notebook you don't want everything so you just want to
access one notebook maybe it's part of the exercise or the assignment.
Let me show you how you could do that.
Let's say we want to do the panda's exercises notebook.
We want to work on that so we'll click on this one hand is exercise we got this you are all here if
we wanted to download this one particular folder this one particular file we can go click on this roll
button and then what we're going to do is gonna bring up all these text but that really doesn't make
sense to us.
So we'll find a way to to make it make sense.
We'll go file save pages and I've got a folder on my desktop called AML course and I'm gonna save this
into my email cause photo where I'm working on all of the course materials you may have some sort of
folder like this.
And I'm gonna save it into the sample project folder.
It's gonna keep it with that file name.
So save beautiful that's gonna download and I'm gonna open up a terminal.
Well let's see how we'd access that one particular Jupiter notebook.
So what I'm gonna do I'm gonna change directory to my desktop.
And then to my email cause folder and then again to the sample project folder where I just downloaded
my press lens I should have pandas exercise is done.
I Pi I pi and b dot text which is this text file here.
So how would I access is to work on it.
But what I'm going to have to do is activate my anaconda environment so if I go contact activate and
if you're not sure what this means don't worry I will cover this as well.
I'm just showing you how you access one particular notebook.
So in other in in a summary a condo environment is a collection of tools to work on data science and
machine learning projects.
So uses mine is stored here.
Daniel desktop email calls door sample project slash.
And so it's this little file here.
This is what I'm trying to activate now.
Hit enter there.
You'll notice it changes from base to this fall apart here.
Beautiful.
And since I have my environment activated I'm able to access the Jupiter notebook too.
So if I hit that this is going to light up the the Jupiter notebook server running on my computer.
And you might notice we've got pandas exercises.
This is that file we downloaded just before here pandas exercise is done the I Spy why notebook.
And B is for notebook and we've got some other ones here.
I've got a little different symbol right.
So this i pi and based into a Python notebook or Jupiter notebook.
Now how would we convert that into one of these.
Let's see.
We just open this up an easy way to do it is just by changing removing the DOT text extension and clicking
Okay and then hitting command s all.
Actually we don't even need to do that.
It's going to update itself automatically we come back to here.
Beautiful.
You notice that pandas exercise.
I pi and b has now changed to this little book symbol.
So if we close this and reopen this notebook what we can see is we've got an individual notebook downloaded
from GitHub and running on our computer now we check to see if this works.
Input pandas as PDA shifting into wonderful.
So that cell is run without error.
So Mark delete that because we don't need that.
Now you might be thinking if you've just gone through this you might be thinking wow Daniel that's a
whole bunch of steps.
But don't worry as you work through the course you will get more and more familiar with that kind of
workflow that we just went through.
However if you'd like to get started far quicker.
There is another way.
So we're going to come back to here and one way you can do that is by going into whichever notebook
you want to open and we're going to copy the U.R.L..
So in this case it's just the exact same one as before.
Pandas exercise is done IPO envy.
And we're gonna go to a little tool called co lab and now this is made by Google and so the folks at
Google had this problem like we're having now and Jupiter notebooks as amazing as they are can be a
little little bit hard to get started get running.
And so Google what they've done is they've created a tool called co lab which is essentially Jupiter
notebooks in Google Drive.
So you will need a Google account to do this little workflow.
But what you can do is go to this Web site here and what we can see we've got my google drive there.
But we've also got GitHub so I can copy this you are all of this pandas practice Jupiter notebook come
back to collab lab go to the github tab and enter the you are all there and if everything's working
correctly code labs should automatically take all of this information from the Jupiter notebook on github.
There we go.
I should have pressed into when I hit that in there.
So if we come in here this is the one we want.
So there's a little tidbit.
Make sure you press enter when you copy the link and there we go.
So now we've got Adji but a notebook from here in a Google CoreLogic notebook and he's running exactly
basically the exact same.
They've got it they look a little different to a traditional Jeep notebook but this is because they've
got Google style.
So we go import we run that exact same code import pandas as a warning.
This notebook was not authored by Google.
This notebook has been led from GitHub my request to access your data stored within Google or read data
and credentials please review the source code before executing this notebook.
So that's something you might have to if there are any warnings like that.
Make sure you read through them but otherwise you can notice that this notebook is working perfectly.
After just copying the URL from GitHub and typing it into collab research took Google dot com and if
you want to open something get hub copy the U.R.L. hit enter and then click on the notebook you'd like
to open.
In this case would just open the exact same one and there we go.
We can get started running coding nice and easy.
So that's just a little tidbit.
Remember if you do refer back to the 0 to mastery email it hub and it looks a little different to what
you've seen in this video.
Don't worry too much.
It's just because as we go we're updating and continually adding new and updated content.