A Professional’s Tutorial to Python Data Types: int, float, string, bool

Outlining fundamental Python data types

Adam Ross Nelson
9 min readSep 17, 2023

--

For an overview of these tutorials, click here (or click the image).

Welcome to first, in a series of tutorials that teach beginner Python specifically for aspiring data scientists. For an overview of these tutorials, click here.

Introduction

In the world of data science (and programming in Python), data types serve an important foundational building block. As we go about our life in the world we encounter data every moment of every day.

However, as we go about our world, we do not usually have a habit of thinking about the type of data or the type of information with which we interact. However, computer programming languages and data science tools are keenly “aware” of this topic.

Implicitly you likely already understand the notion of a typology. We just naturally categorize the tangible world around us . When thinking about a type of matter we distinguish between solids, liquids, and gases. We can distinguish the periodic table by differentiating between metals and non-metals. In biology we know the differences between plants, animals, and mushrooms (over-simplified, but you get the point.

--

--

Adam Ross Nelson

Ask about my free career course. I mentor new (💫) and aspiring data scientists enter (🚪) and level up (📈) in the field.