In general, the Int and Float type values can be described as it hold numerical values using python pandas library . But how can we describe the categorical variables which are Object type. So, we have to filter out all the object type columns and apply describe function. The below code explains the same.
Example:
1. The int and float data type values can be described as follows:
2. The Object type values can be handled as follows:
Example:
1. The int and float data type values can be described as follows:
2. The Object type values can be handled as follows:
No comments:
Post a Comment