Skip to content

Python

python division cover image

Python Division: Integer Division and Float Division

In this post, you’ll learn Python division, the different ways in which division works in Python 3, as well as some of its unexpected quirks. You’ll learn how to use both integer and floor division in Python, as well as how to interpret some of its less expected results.

pandas relative frequencies

Relative Frequencies and Absolute Frequencies in Python and Pandas

In this post, you’ll learn how to calculate relative frequencies and absolute frequencies using pure Python, as well as the popular data science library, Pandas. A relative frequency, measures how often a certain value occurs in a dataset, relative to