title: How to get the P Value in a Variable from OLSResults in Python?
body: <p>The OLSResults of</p>
  
  <pre><code>df2 = pd.read_csv("MultipleRegression.csv")
  X = df2[['Distance', 'CarrierNum', 'Day', 'DayOfBooking']]
  Y = df2['Price']
  X = add_constant(X)
  fit = sm.OLS(Y, X).fit()
  print(fit.summary())
  </code></pre>
  
  <p>shows the P values of each attribute to only 3 decimal places.</p>
  
  <p>I need to extract the p value for each attribute like <code>Distance</code>, <code>CarrierNum</code> etc. and print it in scientific notation.</p>
  
  <p>I can extract the coefficients using <code>fit.params[0]</code> or <code>fit.params[1]</code> etc.</p>
  
  <p>Need to get it for all their P values.</p>
  
  <p>Also what does all P values being 0 mean?</p>