image

Understanding Data Types

2.1. Introduction

A dataset can contain variables of different types depending upon the data they store. It is important to know the different types of data that a variable can store since different techniques are required to handle data of various types. In this chapter, you will see the different data types that you may come across.

2.1.1. What Is a Variable?

Before we look into a variable of different data types, let’s first define what a variable is.

“A variable is an entity which stores a value that corresponds to a characteristic, quantity, or a number that can be counted or measured.”

Following are some of the ...

Get Data Preprocessing with Python for Absolute Beginners now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.