ibnummuhammad commited on
Commit
90d3f28
1 Parent(s): ca81a52

Cleanup code

Browse files
autocorrelation.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
coal-price-forecast.ipynb CHANGED
@@ -161,7 +161,7 @@
161
  }
162
  ],
163
  "source": [
164
- "df = pd.read_csv('../coal-price-data/coal_price_data.csv')\n",
165
  "df"
166
  ]
167
  },
@@ -222,10 +222,11 @@
222
  "def myfunc(x):\n",
223
  " return slope * x + intercept\n",
224
  "\n",
 
225
  "mymodel = list(map(myfunc, x))\n",
226
  "\n",
227
  "plt.scatter(x, y)\n",
228
- "plt.plot(x, mymodel, color='orange')\n",
229
  "plt.xlabel(\"Newcastle\")\n",
230
  "plt.ylabel(\"ICI 1\")\n",
231
  "plt.show()"
 
161
  }
162
  ],
163
  "source": [
164
+ "df = pd.read_csv(\"../coal-price-data/coal_price_data.csv\")\n",
165
  "df"
166
  ]
167
  },
 
222
  "def myfunc(x):\n",
223
  " return slope * x + intercept\n",
224
  "\n",
225
+ "\n",
226
  "mymodel = list(map(myfunc, x))\n",
227
  "\n",
228
  "plt.scatter(x, y)\n",
229
+ "plt.plot(x, mymodel, color=\"orange\")\n",
230
  "plt.xlabel(\"Newcastle\")\n",
231
  "plt.ylabel(\"ICI 1\")\n",
232
  "plt.show()"