
This video provides an overview of the entire course.
In this video, the namedtuple object from the collections module.
• Examples of namedtuple
Use the namedtuple object to keep a rolling list of items.
• Demonstrate using some of the methods of namedtuple
Use a grouping object and defaultdict to aggregate data.
• Demonstration of grouping with collection module
Use the collections counter object to group and sort word instances.
• Create a counter object for use in determining word frequencies
Use several collection objects to set up an application to create character index from a full-length text.
• Insatiate objects and define parameters for the application
Write functions implement and demonstrate the index application.
• Write several functions and demonstrate the application
In this video, we introduce the Pandas data analysis library.
• Look at preliminary examples of Pandas
Take a different approach to finding word frequencies with pandas.
• Compare getting word frequencies with Pandas and counter
Download and read data in various format with pandas.
• Download external data files and read into DataFrames
In this video, we further explore the capabilities of pandas.
• See how to combine data from several DataFrames
Use pandas and API to download and manage data.
• Demonstrate pandas vectorized operations
Filter frames to find relevant datasets and conduct basic visualizations.
• Filter and display datasets
In this video, we introduce the ElementTree to parse XML.
• Demonstration of XML basics with Python
Conversion of key value pairs into namedtuple.
• Convert data from one form into another
Open and read CSV data into Python and use the resulting data structures to create a visual.
• Read data and transform into barchart
Download and install the IPinfo library and use it to determine information about internet connections.
• Use IPinfo and its free API key to get useful information about a network connection
Read CSV and create function to convert the data into JSON.
• Read and transform data from one format into another
Import and use the SQLite library to create various forms of external databases.
• Demonstrate the SQLite basics
Take a deeper dive into SQLite writing and executing SQL within Python.
• Demonstrate the SQLite capabilities within Python
In this video, we introduce the datetime module.
• Overview or major datetime objects
Take a datetime and convert it into various components for string printout.
• Demonstrate built-in datetime formats
Read string dates out of a file and convert to datetime objects.
• Demonstrate reading and isolating data strings for conversion
Use datetime functionality to determine and arrange common meeting times across time zones.
• Further demonstrate datetime functionality
Download and install the humanize module to display dates and times in human readable format.
• Use humanize to display common dates and time in human colloquialisms
Use timedelta to calculate how much time has passed between two events.
• Demonstration of the timedelta functionality
Use a calendar and pandas to calculate the exact day any holiday occurs on.
• Demonstrate finding a specific date with pandas filtering and datetime
In this video, we introduce the decorator.
• Get an overview of Python decorators
Further explore the functionality of decorators.
• Write a decorator with required and optional arguments
Use a decorate to abstract way necessary logic involved with logging into a system.
• Write a short application to display content to a logged in user
Another example of data abstraction with number validation.
• Write code to validate number using decorator
Overview of the context manager “with”.
• Use “with” to execute a block of code
Combine context manger and decorator to illustrate common application functionality.
• See a demonstration of decorators with context manager
We shall look at zip versus zip_longest.
• Look at several examples of zip versus zip_longest from Itertools
Use Itertools functionality to create a running sequence. In this case, a running average of read data.
• How to use Itertools to calculate running average
Use combinations and permutations to sum generate and sum two number combinations.
• Get a demonstration of combinations and permutations
Further explore combinations and permutations to assign team members.
• Another application for permutations and combinations
Draw a random sample of letters and find all dictionary words at least three letters long.
• Use a dictionary and perform permutations to find English words
Create car data storage object and read it into a frequency table type structure.
• See a demonstration of grouping and sorting with count
Get an Introduction to creating classes as custom data structures.
• Create a basic class
Add commonly used “dunder” functions to your class to represent objects.
• Add the most basic dunder representation methods
In this video, we shall look at how to store the state of an object beyond a single application run using pickle.
• Save an object state with pickle
Explore extending built-in object types. In this case, the dict to create classes that inherit functionality.
• See a demonstration of class inheritance
A more advanced example of inheritance, demonstrating multiple inheritance.
• See a demonstration of inheriting from more than one class
In this video, we see how to write an advanced property with a decorator.
• Incorporate decorators into your classes
In this video, we introduce regular expressions as a powerful tool in text processing.
• Demonstration of basic RegEx functionality
Apply regular expression to text to extract digits.
• Find digits and substitute with RegEx
Learn more about using regular expression to extract target strings or data.
• Demonstrate additional RegEx capabilities
See how to read a block of text and capture text between quotation marks.
• Demonstrate capture groups with RegEx
Implement a simple password validator that verifies a password meets certain conditions.
• Write a function validate passwords
Combine the power of regex with native Python string functionality to write a find and replace application.
• Use regex and string functionality to implement find and replace
Overview of basic slicing operations of strings.
• Demonstrate String slicing
See several methods of reversing a string and rotating a specified number of characters from either end of the string.
• Extend slicing to include reversing and rotating
In this video, we look at some of the String methods to find and replace much more simply than previously demonstrated.
• Demonstrate String method for find and replace
See how to process a string by removing punctuation to ease text analytics.
• See how to remove punctuation from a string
Take an RBG String and convert it to hexadecimal using little known functionality between the string and int objects.
• Write a function to convert from one color system to another
Combine the power of RegEx with native Python String functionality to write a find and replace application.
• Use RegEx and tring functionality to implement find and replace
Overview of the web scraping library Beautiful Soup (BS).
• Get library installed and demonstrate basic functionality
Use the requests library in conjunction with BS to download and write source HTML from a website.
• Download and pretty print HTML into readable format
Use the BS object to identify elements of interest and isolate them.
• Isolate all hyperlinks and display as a list
Find a list of recommended books on a website and identify and extract the relevant data.
• Identify and extract data from a webpage
See an alternative method for identifying and extracting data from a complex webpage, using BS to extract a list of Stock in the S&P 500.
• Demonstrate method to identify elements of interest in a webpage
Use Beautiful Soup and String capabilities to write scripts that automate webpage updating.
• Demonstration of using Beautiful Soup to do something other than scraping
Python is one of the most popular and widely used programming languages in a variety of fields such as data science, analysis, gaming, GUI programming, Networking, and more. Are you someone who loves challenges and gets excited about solving them? If you've been using Python for some time and would like to test how good a Python wrangler you are, you've come to the right place!
In this course, you will uncover key Python features and implement them while testing your own ability to solve particular challenges. Each unique problem will not only test your knowledge of the language, but also your ability to think outside of the box and come up with the best solutions.
Our course is divided into levels to help you go from being a beginner to professional level “Pythonista”! And in case you're stumped, you don't have to worry: we'll show you the best solutions to the challenges laid out in the course.
By the end of this course, you will become a confident “Python Pro”, ready to take up any challenge and solve it with your mastery. So, are you up for the challenge?
About the Author
Matthew Macarty currently teaches at Bentley University, USA, and has taught graduate and undergraduate business school students for over 15 years. Teaching a range of topics including statistics, quantitative methods, information systems, and database design.
He has created and implemented tutorials on data analysis and statistics, including educational videos on Python from the last 9 years.