Python for beginners
4.5 (12 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
103 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Python for beginners to your Wishlist.

Add to Wishlist

Python for beginners

Learn the basics behind Python
4.5 (12 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
103 students enrolled
Created by Francisco Juretig
Last updated 3/2017
English
Current price: $10 Original price: $20 Discount: 50% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 4.5 hours on-demand video
  • 13 Supplemental Resources
  • 8 Coding exercises
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Know the most important parts of the Python programming language
  • Know how to use some of the most relevant modules
  • Analyse, and plot data in Python
  • Understand control flow, functions, and data objects in Python
  • Understand classes and object oriented programming
View Curriculum
Requirements
  • Nothing in particular
Description

When buying any of my courses, I also give you free coupons to the rest of my courses. Just send me a message after enrolling. Pay one course, get 5!!

This course is intended for students aiming to learn Python, with no previous programming experience. After this course, the student will have a general overview of the Python programming language. In order to master Python, the student will need more practice, and more specific training in some areas. Nevertheless, with this course, the student will be familiar with most elements in the Python environment.

We start by explaining how to install and set up the Python environment, and then how to define variables, loops, numbers, and functions. We then review the basics behind Numpy, which is a critical package for mathematics in Python.  We then explain the fundamental elements of the Python standard library such as pulling data from the web, storing persistent data, working with decimal numbers, and creating visual applications. Because analysing raw numbers is sometimes a complicated task, we also show how to leverage the powerful Matplotlib package for creating plots. We then review one of the most important elements of Python: Classes. We start with a very simple class, and we then build more complicated ones explaining different aspects. 

People working with Python, will most likely need to build applications processing data. And because Python is the most used statistical and machine learning programming language, we finally review the data science packages triad in Python: Pandas (data processing), Scikit-learn (machine-learning), and Statsmodels (statistics). The idea of this part is to introduce the basics behind these packages.

At the end of the course, the student should be able to:

  1. Code his own Python programs 
  2. Define and use classes
  3. Use data structures
  4. Work with dates, strings, Numpy arrays, numbers
  5. Write and read files in Python
  6. Leverage the elements in the standard library
  7. Understand the basics behind Pandas, Scikit-learn and Statsmodels
  8. Load data via Pandas, pre-process it, and model it using Scikit-learn and Statsmodels

You will find lots of exercises and quizzes!

We try to keep this course as updated as possible, and the student is welcome to formulate questions, as we try to answer them promptly.

Who is the target audience?
  • Students with no prior programming experience aiming to get an introduction to Python
  • Aspiring data analysts learning to use Python
Students Who Viewed This Course Also Viewed
Curriculum For This Course
24 Lectures
04:33:44
+
Introduction
2 Lectures 12:19

We explain how to install the Python environment, how to run Python code, and other Python introductory topics

Installing Python
09:53
+
Variables - Functions - Loops
10 Lectures 01:26:07

We explain how to work with lists, which are one of the most important objects in Python. We explain how to do basic operations with them such as retrieving a particular element, add new ones, getting the max and min, and sorting them.

Lists
04:51

Lists in Python

Lists
3 questions

One central characteristic of every programming language is its ability to execute statements conditionally. In this case, we explain how to write if/else conditions in Python. This will be of prime importance for the following lessons

Control flow
07:52

We review how to execute loops in Python by using the "for" and "while" statements. Combining these results, with the previous lesson on "if" statements, will allow you to write any program that you can imagine.

Loops
08:21

For statement in a list
1 question

Sum if
1 question

Do you know how to use a while statement?

While statement
3 questions

The input() function allows us to get input from the user. We use it to get a list from the user

Input
02:09

We introduce the different variable types in Python, such as strings, numbers, dates, and lists. This will serve as a basis for later studying each variable type with more detail

Variable types in Python
11:07

One of the fundamental variable types in Python. We study how to append strings, remove spaces, replace characters, and change some characters.

Strings
05:23

String basics in Python

Strings
3 questions

Use the find function on a string
1 question

Using replace on a string
1 question

We explain the basic functionality of the math package included in Python. We then show how to operate with float and integers in Python. 

Numbers
08:35

Float numbers
2 questions

Transforming floats into integers
1 question

We review the most important aspects when dealing with dates in Python, and how to work with datetime, date, and timespan objects. We show how to create datetime objects in different ways, how to add days and months to a particular date, and how to use pull the different attributes contained in a datetime/date object.

Dates
10:00

Dates in Python

Dates
4 questions

Data structures provide a very convenient way of storing and retrieving data in a very fast way. We analyze queues, dictionaries, stacks, lists and some specific ways of looping through these structures.

Data structures
17:57

Loop through the values of a dictionary
1 question

Brief overview of data structures

Data Structures
3 questions

Functions provide a convenient way of organising our code, making our code much more readable. We explain how to use them in Python.

Functions
09:52
+
Numpy
1 Lecture 19:54

Numpy is the fundamental package for mathematics in Python. It allows us to work with the famous numpy.array which is an incredibly flexible and powerful object. In this lesson, we also work with numpy matrices and some mathematical functions that Numpy provides

Numpy basics
19:54

Why do we use Numpy?

Numpy
3 questions
+
General Python topics
4 Lectures 52:29

Python allows us to load code from modules, thus simplifying our code. An even more interesting feature, is Python's ability to group different modules under a same package. We show how to write and load both modules and packages.

Modules
09:53

Python standard library allows us to do a wide array of things, such as working with decimal numbers, storing dictionaries as permanent data, creating UI interfaces, and working with pathnames. In this lesson we review some of its most important capabilities.

Standard library
19:51

Every programming language is capable of writing and reading files. In this lesson we explain how to do it in Python.

Input - Output
09:00

A fantastic package called matplotlib allows Python to produce excellent plots using minimal code. This provides Python with a fantastic edge over many programming languages. In this lesson we review the basics behind this package.

Plotting
13:45
+
Classes
3 Lectures 38:38

Python is an object oriented language, which means that it is designed to work with objects. Classes are the fundamental component behind object oriented programming. In this lesson we see how to define classes, which encapsulate methods and data. 

Preview 18:41

In this lesson we explain how to define classes inheriting from base classes (this is called inheritance). This yields a fundamental division between classes: base classes being the parent classes, and derived classes being the children classes. As an example, we can think that animal is a base class, and elephant is a derived class that inherits from animal. 

As you might expect this causes a separate discussion, how can we block another programmer from instantiating an "animal" class? (animals really don't exist, since it is an abstract concept). This leads us to a separate discussion on "abstract" classes.

We then explain how to write functions in derived classes that overwrite the functionality in their parent (base) classes, a functionality in object oriented languages called polymorphism.


Classes II
18:30

The idea is to practice the basics behind classes in Python

Classes
4 questions

Classes
1 question

Class inheritance
1 question

Checking types
01:27
+
Pandas
2 Lectures 24:50

Most programmers working in Python, will be required to work with data (since Python is the most important language for data science). That leads us to a problem, because we don't have powerful data processing functions in Python's base functions.

Pandas is the best data processing package for Python. It allows us to load and process data very easily and efficiently. We introduce Python's elementary object: the dataframe

Installing Pandas and introduction to Dataframes
07:28

We delve into the most important functions in data processing/Pandas: how to subset data? how to merge data-sets? how to create pivot tables and how to transpose the data?

Processing data with Pandas
17:22
+
Machine learning and statistics with Python
2 Lectures 39:27

Python is increasingly used by machine learning practitioners and data scientists. And many employers require that their Python programming teams have some familiarity with Scikit-learn. The objective of this lesson is to introduce you to the typical machine learning problems (supervised and unsupervised), and show you how to install and use the powerful Scikit-learn package. In order to give you a general overview of this library, we explain how to use it to group the observations into two clusters, and then to predict the labels/categories for a classification problem (where we want to classify customers into three groups). Naturally, in order to master Scikit-learn the student will certainly need to spend many extra hours, as it is one of the most complex Machine-learning packages.

Preview 19:56

Statistical modelling is used for understanding the relationship between certain variables. It typically requires an active interaction between the programmer and the code producing the results. This interaction for example would be: deciding which variables to keep, removing certain observations which are weird, etc. Machine learning (scikit-learn) is a different approach which builds algorithms that can learn by themselves with little or no human interaction.

As most Python programmers will be required to work with data, it is important to understand how to build models to describe that data. In the previous lesson we described how to use machine learning techniques (scikit-learn) to do that. In this lesson we introduce Statsmodels, which is used for statistical modelling in Python. We show how to install it, and use it for a simple linear regression case. We then move into a different approach, where we get some temporal yearly data, and want to predict values for other years. 

Statsmodels
19:31

Understand the basics behind ML and stats in Python

Machine learning in Python
6 questions

Let's check how much you know about this package

StatsModels
2 questions
About the Instructor
Francisco Juretig
3.8 Average rating
153 Reviews
1,343 Students
8 Courses
Mr

I worked for 7+ years exp as statistical programmer in the industry. Expert in programming, statistics, data science, statistical algorithms. I have wide experience in many programming languages. Regular contributor to the R community, with 3 published packages. I also am expert SAS programmer. Contributor to scientific statistical journals. Latest publication on the Journal of Statistical Software.