Okay, so I am at Google Drive. I have uploaded the files which you can download and you'll need to unzip them before you upload them to Google Drive, right? So when you get the files, they'll likely be zipped up, you'll need to unzip and then upload them to Google Drive, make sure into my drive. So here I am on the folder and when you go inside, you'll see there is a done folder, start and some other resources.
I'm gonna open up Done and you will see that we have 10 lessons numbered one through 10 consecutively, each lesson is a, covers a very important fundamental concept in programming and data science. So the first five lessons are pure programming, variables if else logic, modules which are libraries, packages that you import, loops, dictionaries. So each one of these topic name, these lesson names is for a very important core feature in all programming languages. The last six lessons, Numpy Pandas, Matplot, Lib, these are more data science specific with those three just named packages being the most important ones in data science.
Kind of the big three of data side are Numpy Pandas and Matplot Lib. What all of it is and does and how it works is what we're going to learn in this course. So the done files, we go into one of them are like the name suggests done, right? They've already been typed in.
So our goal is to not, we're not gonna work in the done files, we're gonna recreate them via the start files. So the done files are just solution files, finish files. Where we work is, we back up a level, go to start, which is basically the same files, except with the code for the most parts stripped out. So if I double click and go into oh one start, you'll see all the descriptive text is still there.
Well, I'm in the Prague file, excuse me. If you go into oh one start, you'll see there is no code typed in there. And what I have here is Prague and I will recreate that for you is, I don't want to type in my start file just because I need it for next time, but you could type directly in the start file. What I've been doing and what I'm gonna do right now and you can do as well is right click and say make a copy of the file.
So I don't type in the original start file and it will rename it, take out that copy of prefix, change the suffix there to Prague for progress and that would be the file that you type in. Now, if you double click one of these files and it does not open up in this environment here, which is called Google Collaboratory Colab, then we have to do a little something in Google Drive. You probably will have to do this the first time. So if you go over to the right side and if you're on one of the files you go over, hit the three little dots and you choose open with, if you do not see Google Collaboratory show up in the open with side menu, then you have to choose connect more apps.
Go ahead and search for colab and you'll see that you'll need to install it. They'll be an install button, you click on that and it'll walk you through the process may make you reassign into Google account. So once you've got colab installed and you would know it's running by going back to open with and seeing Google Collaboratory and you get open the file this way. But of course you just double click on it.
That'd be the easier way. So once you've got colabatory installed, that'll become your default open editor. And colabatory, Google Colab is an environment that provides what is known as a Jupyter Notebook which is not unique to colab, but it is something special for Python. It's got a file extension of IPY and B for integrated Python Notebook.
And the way it works is you have two kinds of boxes you can type in code and text. So right, what you see here is a text box or a cell as it's called. And it's rendered nicely with big bold and bullet pointed. And if you double click, you can see under the hood how it's doing the formatting, this kind of clean, elegant system called markdown where one pound sign represents an H1 or large, double asterisk wrappers, bold text, three pound signs or hashtags would be a smaller header.
And then if you want a bullet pointed list, just a dash. And you can come in here and bold more items. So let's say we wanted these five to be bold and I'd invite you to go ahead and do this. But you could also just double click and there is a B button kind of like a Microsoft word.
And if you'd like to italicize, you could put one hashed or one asterisk around a word or words, or you could just select the text and hit the i button for italic. And then if you come down and kind of click away somewhere, it'll re-render the text. And now you see that you have the bold and italic that we just added via the double and single asterisks. So that's a rundown on markdown as it's called.
It's a really handy way. It's not a format unique to this environment. It's kind of a universal language for adding formatting to raw text. Read me files with a.md extension.
That md stands for markdown. It's meant that when you read the file, open it up in a browser or viewing window, it'll render nicely. So you can always add more text. Kind of the idea is you want to, this Jupyter Notebook as it's called with the ipy and b extension.
Think of it as a presentation format. It's not just a raw code file, where you just type like a.py file for Python, where it's nothing but code and maybe comments. Here, it's a presentation format. The idea being you're going to have an audience, right?
You might, well, I do, right? You're watching. But what if you're presenting to a group? You don't want to just hit them with raw data.
You need to explain what's going on, maybe throwing some images and certainly some charts and graphs being that it is data science. So the way we're kind of going here we're alternating between text and code. So here's some text. Here's more text and a high.
Here we have a code block, which is a little bit different with numbered lines. Now, if you don't see the numbers here, don't type them. Here's, excuse me, go up to Tools and Settings and choose Editor and scroll down and choose Show Line Numbers. Also, click on AI Assistance when we're in here and do not have any AI-powered completions.
High-generator of AI feature or hype, yeah. So uncheck these two and check that one. The idea being we don't really want AI helping us right now, like filling in as we start to type auto-filling line because you won't really learn the program, of course. If you don't type code, it's like you're not going to learn to drive by sitting in the back seat, right?
And letting the AI drive you around. So we want to turn off AI Assistance and also have the line numbering. This green text with the pound sign in front of it, there's no one as comments. These are just notes to self or turning off existing code.
And you can add these in regular, like all programming languages support comments. So any language you're typing in, you can write little comments that are not executed as code, but just explain the code or turn off code that you don't want to delete, but you don't want running. And once you execute your code, you go ahead and hit this little play button there. And then it would turn on, it will just run your code, kind of like hitting play on a tape recorder, VCR or whatever, iPod.
So here's what we're going to do. We're going to say VCR. We're going to say first name. We're going to declare what's called a variable.
And we're going to write first name and then put your name right there. And we'll say last name and put your name right there as well your last name. So your first name and your last name. I'm not going to really stop for you to type.
Like I would in a live classroom. That's just at any time you need to. Of course, hit the pause button and type. I need you to type along with me though.
Okay, if you just watch, it might seem you'll feel like you're getting it, but it won't be the same. You won't acquire the skill set the same way at all. You have to type code to learn how to code.