X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/cc29e4ce8e8d5784664ed9391bfd7cfa3b935c85..913175fed4fa9fa4c69377cc28b3d476f462c078:/data/issues.ipynb?ds=sidebyside diff --git a/data/issues.ipynb b/data/issues.ipynb index 2156a71..b731ad1 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,44 @@ "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" ] } ], @@ -30,7 +67,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.12.1" + "version": "3.12.2" } }, "nbformat": 4,