Getting p-value, r-squared and adjusted r-squared value in python

@machinelearnbot 

How to calculate the p value, r squared and adjusted r squared value in a linear regression model in python??