Each column in table or dataframe refers to variables in dataframe.It can be categorized into two categories.

Types of Variables in Dataframe :

1.Quantitative Variable: It is represented by numbers.Weight ,Height in below tables are example of quantitative variable

2. Categorical Variable: It is represented by description written in words. e.g. Obesity is categorical variable.

Name Weight Height Obesity
ABC 50 5 Yes
XYZ 60 5.5 NO
IJK 40 5 NO
LMN 56 6 YES
Variables In Python

 

By SC

Leave a Reply

Your email address will not be published. Required fields are marked *