]> apps.delaporte.us Git - dotfiles.git/blobdiff - data/issues.ipynb
WIP
[dotfiles.git] / data / issues.ipynb
index 2156a71641d394dd000abcfcfbb8dd15604f0a90..3ffa40cc4173e730ff39f7e396c276988f8d78ae 100644 (file)
@@ -2,7 +2,7 @@
  "cells": [
   {
    "cell_type": "code",
-   "execution_count": 21,
+   "execution_count": 2,
    "metadata": {},
    "outputs": [],
    "source": [
     "import glob\n",
     "import os\n",
     "\n",
-    "data_files = glob.glob(os.path.expanduser('~\\\\Data\\\\*.json'))"
+    "data_files = glob.glob(os.path.expanduser('~\\\\Data\\\\*.json'))\n"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": 5,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "3.12.2\n"
+     ]
+    }
+   ],
+   "source": [
+    "import platform\n",
+    "print(platform.python_version())"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "import pandas as pd\n",
+    "\n",
+    "data_sets = []\n",
+    "\n",
+    "file = data_files[0]\n",
+    "print(file)\n",
+    "\n",
+    "f = open(file, encoding='utf-16')\n",
+    "data = pd.read_json(f)\n",
+    "\n",
+    "print(data)\n"
+   ]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "import maptploglib.pyplot as platform\n",
+    "# TODO: Get ye data into scatter plot\n",
+    "plt.scatter(x, y)\n",
+    "plt.show()"
    ]
   }
  ],
@@ -30,7 +79,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.12.1"
+   "version": "3.12.2"
   }
  },
  "nbformat": 4,