Data types

karthik · updated · flag

If I were to ask you and your friend how many crayons you have, what would your answer be? You’d say that you have 4 crayons. And your friend might say that she has 6 crayons. This quantifies each of your crayons right? And it’s numeric, right? So let’s call this data type as numerical.

Now if ask what brand of crayons you both have you’d say ‘Camlin’ and your friend might say ‘Faber Castell’. This data set defines the quality, the attribute, of your crayons. We call this sort of data type as categorical.

That’s it! These are the two primary data types. Now let’s find out more about these two types of data with examples in the upcoming lessons.