## Discrete Probability Distributions with Python

In this article we are going to explore probability with Python with particular emphasis on discrete random variables. Discrete values are ones which can be counted as opposed to measured. This is...

## Exploring Simpson’s Paradox with Python

In this article we are going to learn about Simpson’s Paradox and explore it with Python programming. Simpson’s Paradox is where data appears to tell a different story when treated as a...

## The Gambler’s Fallacy with Python and JS

In this article, we are going to explore the Gambler’s Fallacy with Python and p5.js by simulating sequences of coin flips. If I flip a coin 4 times, and the probability of...

## Python Seaborn – `distplot` is a deprecated function

The problem – Seaborn distplot is deprecated Staring with version 0.11.0 of the Python Seaborn data visualization library, distplot is a deprecated function, and will be removed in a future version. You...

## 100 Doors Python Coding Challenge

In this lesson we are going to look at a fun coding challenge in Python called “100 Doors”. It’s a great challenge for developing algorithmic thinking and Python programming skills. Image courtesy...

## Descriptive Statistics for World GDP per Capita with Python

The only way to gain proficiency in working with data is through experience. Theory can be important, but unless you have a decent amount of hands-on experience to draw upon, it will...

## Practical Data Science with Python – Selecting Data from a DataFrame

The task: Emulate SQL SELECT with a pandas dataframe E.g. SELECT * FROM table WHERE column_name = some_value; The code in this lesson was written in a Juypter Notebook. This means it...

## Fizz Buzz Coding Challenge in Python

Fizz Buzz is a classic coding challenge based on a game played at school in Maths lessons. Fizz Buzz is a game for two or more players. Take it in turns to...

## Getting Unstuck in an Exam

This article will help you to achieve your full potential in exams for any subject. Have you ever been in an exam where you have read a question and your brain has...

## Python Loops and Flowcharts

In this lesson we are going to learn how to convert between Python code and flowchart representations of loops when designing algorithms. Consider the following code. As with most code examples in...