set_option('display width' set_option('precision' print(data shapeprint(data describe()output ( preg plas pres skin test mass pedi age class count mean std min max from the above outputwe can observe the statistical summary of the data of pima indian diabetes dataset along with shape of data reviewing class distribution class distribution statistics is useful in classification problems where we need to know the balance of class values it is important to know class value distribution because if we have highly imbalanced class distribution one class is having lots more observations than other classthen it may need special handling at data preparation stage of our ml project we can easily get class distribution in python with the help of pandas dataframe example from pandas import read_csv path " :\pima-indians-diabetes csvnames ['preg''plas''pres''skin''test''mass''pedi''age''class'data read_csv(pathnames=namescount_class data groupby('class'size(print(count_classoutputclass