Diabetics & Inactivity task

 

The describe() function in Pandas provides a quick overview of various statistics for each numeric column in the DataFrame. These statistics include measures like count, mean, standard deviation, minimum, quartiles, and maximum. I have merged Diabetics & Inactivity and applied describe() to see the measures in the image below.

I have taken the correlation between the two data frames as seen in the below image.

The below graph as seen in the below was right skewed graph, this is obtained while merging of diabetics & inactivity as seen in the below.

 

I have dropped some columns and changed some column names to merge the columns to get the merged data. By this data I can fit the simple linear regression algorithm model on this data.

 

Leave a Reply

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