X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/7c1afefe42dcafe9caf31207b4e54a8032553a94..47680a09b0c98441226563f1ae277efd519475ff:/data/issues.ipynb?ds=sidebyside diff --git a/data/issues.ipynb b/data/issues.ipynb index 2156a71..3ffa40c 100644 --- a/data/issues.ipynb +++ b/data/issues.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 21, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -10,7 +10,56 @@ "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,