
In this video, I am providing an overview of what the course covers. One of the great things about this course is that you will NOT need to install any software! We will leverage the Google Cloud to do all our learning and programming!
Linked you will find the contents for the 3 lessons / sections covered in this course.
Google Colaboratory is a free cloud offering that is provided by Google to enable users like you and me to begin using Python for Data Science and Machine Learning. Access to Google Colab comes with having a Gmail account, so if you don't already have one, create one!
In this section
we'll create our very first notebook used for Python coding
take a look at where our work is stored on the cloud.
learn about inline code comments
In this lesson, you will
Learn how to handle string and numeric values differently in Python
Experiment with mathematical operations on numbers
Learn some of the nuances that come with strings
In this section, we
Introduce variables
Modify variables
Through Math
String Concatenation
Pass Variables to Strings
Introduce Boolean Values
This course covers 2 methods for concatenating strings
Simple String Concatenation
Passing values into strings for concatenation
In this exercise we will have a hypothetical use case that will require you to use the concepts just learned.
Hint: concepts used:
Variable usage
Variable Passing & String Concatenation
Arithmetic
In this section,we take a look at how lists' hold data and examine how they can hold different data types (such as strings and numbers). They can also hold other lists and variable types. You'll see this demonstrated later on!
This video covers lists methods that enable us to perform a variety of actions with lists such as removing, adding and sorting values.
We'll take a moment to practice what we learned about lists to really solidify our understanding!
Python sets are extremely useful. They literally enable us to perform many of the logical concepts learned in set theory! If you liked set theory in math, then you'll love this video!
Are you familiar with JSON? Dictionaries in Python are virtually just that. It is a data structure that holds key value pairs of data. You'll find these variable types to be extremely useful as you can leverage them in a number of ways as we'll see in future videos!
In this section, we'll not only cover what dictionaries are but we'll also review a couple of ways to manipulate our dictionaries!
Let's take a moment to exercise what we learned about Dictionaries in Python.
Python conditional statements are perhaps one of the most common logical structure that you will use, especially when creating your own functions. If you have done any form of logical statements in Excel or any other programming language, then you'll quickly grasp the simplicity of conditional statements in Python.
One logical looping structure in Python is the for loop. For loops are powerful and efficient as they enable us to iterate through lists, sets and other iterate-able objects in Python. A must know for all business users and data scientists.
This comprehensive exercise will build on what we've learned to this point in Python. You'll really need to put your thinking cap to solve this practice problem, but to get you started, the quickest way to solve this problem is to gather all your data points into an object that you can iterate on (psst list!) and perhaps loop through your data? ;)
If you have programmed before, then you may be familiar with the concept of libraries. Think of libraries as prepackaged code that we don't have write (i.e. someone already wrote it for us) in order to accomplish common tasks that we would need Python to do. Basically, you don't have to invent the wheel if it exists.
In this section we're going to cover a module/library for visualizing our data! The python module is matplotlib and it's the foundation for other charting libraries in Python.
Working with text in Python is something you don't realize you need until you do. This is where the built in functions (or methods) available in Python strings come into handy. Although you may not immediately identify a use case for yourself with Python strings, I'm confident you will find them useful and will soon apply them.
Let's take a moment to apply our cumulative knowledge in this exercise. Cumulative? Yes, so, you'll likely draw from concepts in lesson 1 to solve for this practice problem.
List comprehension in Python is one of the most elegant ways to essentially leverage loop logic within a single line of code. Applying list comprehension whenever possible will make you a creative data scientist, analyst and yes, programmer!
Functions in Python are a must have. This is where you can create your own custom logic that may not already be available in other modules / libraries. In this video, we'll create 2 types of functions. One that takes no arguments (i.e. parameters) and another that takes one parameter.
Functions can be used to display messages after they are executed, but to get even more value from functions, you can have your function return a value that can be stored in a variable as we'll see in the next video.
In this video, we'll create an example where we are passing more than one argument to our function and using "return" so that our function returns a value based on the functions logic that can be used elsewhere or stored in a variable to be used later.
Time to flex our brain, use our cumulative knowledge coupled with what we learned about functions and really begin feeling like a data scientist / rockstar analyst!
In this video we are taking a pause to reflect on what we've learned. In Lesson 1, we learned the fundamentals of Python. In Lesson 2, we covered how we can leverage ready to use code in modules and ways to get creative with Python, through list comprehension and functions.
In Lesson 3, we'll begin to explore some of the core tools that are used in Data Science and Data Analysis.
In this video, we take a look at the similarities and differences between lists and NumPy arrays and preview some of the power of NumPy Arrays
This video provides an introduction to some really great builtin functions available in Numpy arrays such as the generation of normal distributed data, random values & random value selection, linspace, and more.
We dive right into the pandas library (a.k.a. module) in this course by reading in data hosted on a server! We'll profile our data just to get an understanding of how much and the type of data we're dealing with, preview our data and learn about .iloc, an index based slicer that enables us to look through our data.
In this video, we'll explore what we can do with the pandas describe method and user our indexes within the data frame to extract means, percentiles, and other useful summary values for use in our analysis.
Let's use several of the new concepts we've learned in lesson 3 and begin analyzing and slicing through our data!
We'll tackle one of the key functions that you want to have when analyzing any set of data, and that is sorting data. Learn how to sort data in pandas.
In this lesson, we take a look at filters. You won't find many references to filters, but you'd be surprised how valuable and useful they are for managing your data!
Since we are working on the cloud, we need to talk about how we go about exporting our work to a file we can use, ON THE CLOUD! This is cool, because this is something you don't typically find in Python courses.
If you are an AWS shop who uses Redshift for their databases, then you are in luck! In this tutorial, we cover how to connect to Postgres, the foundation for Redshift. Connecting to Redshift and Postgres is virtually identical! So whether you are an open-source shop or techie shop, we'll get you connected to your data!
This video covers how to get data from your database and into your pandas Data Frame. Working with flat files is cool, but most of our data is stored in databases.
Aggregate functions are core to data analysis. With pandas groupby method, you can compute counts, unique counts, means, mins, max and more.
Column names may sometime be cryptic. Let's look at how to rename our columns in Pandas to something more suitable for analysis and understanding.
But can pandas join tables like SQL? Of course. In this video we look at the parallels between pandas merge method and joins in SQL. No need to toggle back and forth between your database and Python, when you can join data together with pandas!
After joining, we can be left with columns that we don't necessarily need for our final outputs. Learn a technique that allows you to filter down the columns you need for your final results.
Apply is the crux to performing sophisticated manipulations to your data. With apply, we can leverage the power of many methods and functions, including ones that we write for the purpose of deriving new outputs or transforming our information.
So we've learned some pretty cool things with Pandas, such as joins, filtering and apply. Let's flex our Python muscles and put it all together!
As the saying goes, a picture is worth a thousand words. In the same spirit, charts can communicate so much with so little. Pandas leverages matplotlib for chart creation. So you don't have to leave the comfort of pandas to generate some meaningful charts about your data!
Hey everyone, I'm very happy that you completed this course and want to wish you the best as you continue to grow yourself and your career. Before you go, lend me a few more minutes of your time so I can share some recommendations on where to go with Python and recommend some good books that have helped me with my overall development. Thanks and I'll see you in my future courses!
What sets this course apart from all others is how quickly we dive into the material and the selective topics covered to get you comfortable with Python in less than a day! That's right, this course is basically a crash course designed for learners that want to get up and running with Python as quick as possible and begin applying their Python skills.
This course requires 0 installation of any kind. All you'll need is
your web browser and
a Gmail account,
In Lesson 01, we selectively cover
data and variable types,
methods,
conditional statements and
loops
In Lesson 02, we go over
modules (a.k.a. libraries)
string methods
list comprehension
custom functions
In Lesson 03, using the foundation above, we pick up on data analysis tools and techniques such as
Numpy
Pandas
Reading Files and Querying Databases
Pandas Methods for Stats and Aggregation
Other Pandas Built in Functions and Features, including charts / visualizations
From the core to the advanced tools that you want to have to get your skills and career to the next level!