This course includes 12 modules, 90 lessons, and 1:21 hours of materials.
Course overview
Course overview
Course objectives
How to receive your certificate.
Download the exercise files and follow along with the videos. We learn best through practicing. Make use of the exercise files and develop your hands-on skills.
What is Colab Notebooks
Access the live code on Google colab
In Python we assign values to variables using the assignment operator(=).
String
Strings in Python are shown as the variable type str. You can define a string with either double quotation marks " or quotation marks '.
String Methods
Python has a set of built-in methods that you can use on strings. Some of the methods include:
Len(): Count the number of charters in a string
upper(): Converts a string into upper case
lower(): Converts string into lowercase
capitalize(): Converts the first character to upper case
title(): Converts the first character of each word to upper case
format(): Formats specified values in a string
count() : Returns the number of times a specified value occurs in a string
split(): Splits the string at the specified separator, and returns a list
Python Data Structures
Python’s data structures are simple but powerful. Mastering their use is a critical part of becoming a proficient Python programmer. These are some of the data structures in Python:
Tuples
Lists
Dictionaries
Dataframes and Series
Sets
Access the sample live notebook for practice.
Introduction to List methods
Python List functions
Test your skills
Exercise workbook
Sample exercise code
Python Dictionary Methods
Python has a set of built-in methods that you can use on dictionaries.
clear( ) - Removes all the elements from the dictionary
get( ) - Returns the value of the specified key
items( ) - Returns a list containing a tuple for each key value pair
keys( ) - Returns a list containing the dictionary's keys
pop( ) - Removes the element with the specified key
popitem( ) - Removes the last inserted key-value pair
update( )- Updates the dictionary with the specified key-value pairs
values( ) - Returns a list of all the values in the dictionary
Sample Notebook for practice
Introduction to IF Statement
Sample Notebook
Notebook for practice
Python packages
Notebook
Course review
Frederick Sah purchased Competitor Analysis Dashboard with Excel
Zion Bonzo