daily pastebin goal
0%
SHARE
TWEET

Untitled

a guest Feb 16th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. plt.figure(),
  2. plt.subplot(211)
  3. plt.scatter(df.NOX, df.PTRATIO)
  4. b, m = polyfit(x, y, 1)
  5. plt.plot(x, y, '.' )
  6. plt.plot(x, b + m * x, '-' )
  7. plt.show()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top