
A short introduction covering what you will learn in this python, pandas and matplotlib data analysis course!
How to install python onto your computer.
Install the Anaconda distribution by selecting the right installer from the official site, follow the installation guide for Windows, Mac, or Linux, and read the documentation.
Launch the Anaconda Navigator, open Jupyter Notebook, and start using it for most of this course.
Here I will show you how to open and run a Jupyter notebook. You will need to download the course files from github. If you're not sure how to do that, the course files are also available in this lesson's resource section.
An introduction to using python as a calculator
explore variables and assignment in Python, including int and float types, immutability, and memory location concepts. learn shortcuts like a += 1 and how mixed types yield floats.
select meaningful variable names to improve readability, then cover Python naming rules, case sensitivity, and reserved keywords, plus how multiple assignment and single line swaps work.
Explore Python strings and the print function, learning string quotes, concatenation, escaping characters, multi-line strings, and print options like separator and end.
Explore string methods and f-strings in Python, manipulate text with upper, lower, title, strip, and split, and perform slicing and indexing on strings for data analysis with pandas.
Introduce Python lists as a versatile data structure that stores items of varying types and demonstrate core operations: indexing, slicing, appending, inserting, removing, popping, and sorting or reversing.
Explore how lists support data analysis in python by using min, max, count, index, copying, and zipping with tuples, while comparing mutable lists and immutable tuples.
Explore boolean variables, true and false, and learn how logical operators and, or, and not test conditions to control program flow.
Learn how booleans power decision making and how to test membership in lists, using Python comparison operators like equality, greater than, less than, greater or equal, and not equal.
Learn to distinguish assignment from equality in Python, and implement conditionals using if, else, and elif with proper indentation to control code execution.
Explore while loops and for loops in Python. Count down from ten with indentation, handle user input to guess a number, and use break to exit the loop.
Explore Python for loops and the range function to iterate numbers, strings, and lists with start, stop, and step, including reversing strings and using enumerate.
Learn break and continue in Python loops, using a for loop to print odd numbers and skip evens with modulo, and a while loop with range for controlled iteration.
Explore Python dictionaries, learning key-value pairs, unique keys, and nested structures; build dictionaries from two lists with zip, then access, modify, and iterate with items, keys, values for data analysis.
Explore Python tuples as immutable alternatives to lists, defined with parentheses and not supporting append or item assignment. See how they appear in function returns and enumerate, and recognize errors.
Explore how sets in Python store unique items, declare them with curly braces or set(), and perform union, intersection, and differences, noting they are unordered and not subscriptable.
Learn how Python modules import functionality with dot notation and aliases, using the math module’s factorial example, and explore the Python standard library and data tools like pandas and matplotlib.
Learn to define and call Python functions with def, parameters, and return values, and reuse code for tasks like calculating a list mean. Explore docstrings and why print returns None.
Explain how positional arguments must follow the correct order, how keyword arguments enforce explicit naming, and how *args and **kwargs let functions accept varying numbers of arguments.
Explore lambda functions, anonymous tools you can apply to pandas dataframes to operate on entire columns, including a multiply lambda, while following the pep eight style guide for Python code.
Learn to recognize runtime errors such as index out of range and division by zero, and handle them with try/except blocks and precise error messages.
Explore list and dictionary comprehensions in Python, using for loops, range, and conditions to build lists and dictionaries. Demonstrate nested loops and Pythonic one-line expressions.
Learn to swap dictionary keys and values in Python with a one-line dictionary comprehension, applying it to data structures used in Pandas.
Explore NumPy basics for numerical Python, including creating arrays, dtypes like int32 and float64, and using arange, linspace, ones, and zeros for fast matrix operations.
Generate random integer arrays with NumPy, create 5x5 arrays between 0 and 50, perform arithmetic and comparisons, and use boolean masks to filter data for pandas analyses.
Explore numpy functions to filter arrays with boolean masks, transpose arrays, concatenate and stack arrays, and compute min, mean, and square root across axes for data analysis in Python.
Load and save data with Python using pandas and the os module, then analyze WHO covid data with indexing, filtering, and new column calculations.
Develop Pandas skills by cleaning and preparing a covid-19 dataset, converting date times, and creating time series plots with seaborn and matplotlib to explore US and UK trends.
Load and clean a csv with pandas, convert dates to datetime, pivot to country columns, and plot time-series and top-country charts using pandas and matplotlib.
Merge the data sets on date indices, clean columns, and compute percent change and mortality rate, then plot new cases and hospital admissions with twin axes to analyze lockdown effects.
Plot covid data on a map with geopandas, focusing on EU countries, using latitude and longitude to place markers scaled by confirmed cases.
Learn to plot share price data with matplotlib by building figures and axes, converting date to datetime index, cleaning data, and saving multi-plot charts.
Learn about two ways of plotting in matplotlib, the class method and the PI plot method, and how to create subplots, figures, and axes.
Learn to plot share prices with the matplotlib finance API using pandas and mplfinance. Create candlestick charts with volume and a moving average from Yahoo Finance data.
Master how to use Anaconda environments to manage project-specific dependencies. Create, activate, list, and install packages in isolated environments to avoid base environment conflicts and streamline data analysis workflows.
Are you interested in using python for exploratory data analysis but have never programmed before?
Would you like to move away from spreadsheets and excel but don't know how?
Would you like to create interesting data visualisations using programming tools but don't know where to start?
If you're interested in learning these skills then this course is aimed at you. This is a course for complete beginners and will teach you how to use python and its data science tools to analyse, plot and gain insight from data.
The course assumes absolutely no programming experience and starts by introducing you to python and teaching you all the python you need to know for data analysis.
It takes you step by step, teaching all the python necessary to work effectively with data.
You will learn how to:
Install python using Anaconda
Set up virtual environments in Anaconda
Work with Jupyter Notebooks and how to really get the best from them
Master the fundamentals of python
Work with variables
Work with data structures, such as lists and dictionaries
Work with functions in python
Import modules into a Jupyter Notebook
We cover the important data science modules in python. These are:
Numpy
Pandas
Matplotlib
You will learn how to work with Numpy arrays and Pandas dataframes.
You will also learn how to problem solve and find help when you're working on your own projects.
After introducing the essential fundamentals the course focus on projects. We cover the practical aspects of loading data into your notebook, exploring that data and visualizing it too.
you will look at and analyse Covid 19 data sets, you will plot case numbers and plot where the cases occurred on a map.
You will use matplotlib to plot share prices and you will use pandas to combine two datasets to find and visualize the location of the UK's biggest energy consumers.
One of the projects will introduce you to the basics of SQLite and plotly.
By the time you finish working through this course you will have an excellent grasp of how to use python for data analysis.