How To Apply Linear Regression In Python