From faad0c1c3c0dc70028cb78f1383f153ff4bdb73f Mon Sep 17 00:00:00 2001 From: wassname Date: Wed, 29 Jun 2022 14:10:07 +0800 Subject: [PATCH] mv --- ...{1_mjc_EDA.ipynb => 001_001_mjc_EDA.ipynb} | 45 ++++++++----------- 1 file changed, 19 insertions(+), 26 deletions(-) rename {{ cookiecutter.repo_name }}/notebooks/{1_mjc_EDA.ipynb => 001_001_mjc_EDA.ipynb} (85%) diff --git a/{{ cookiecutter.repo_name }}/notebooks/1_mjc_EDA.ipynb b/{{ cookiecutter.repo_name }}/notebooks/001_001_mjc_EDA.ipynb similarity index 85% rename from {{ cookiecutter.repo_name }}/notebooks/1_mjc_EDA.ipynb rename to {{ cookiecutter.repo_name }}/notebooks/001_001_mjc_EDA.ipynb index 775f3bf..4172aef 100644 --- a/{{ cookiecutter.repo_name }}/notebooks/1_mjc_EDA.ipynb +++ b/{{ cookiecutter.repo_name }}/notebooks/001_001_mjc_EDA.ipynb @@ -5,7 +5,9 @@ "id": "1b44551e", "metadata": {}, "source": [ - "# Exploratory Data Analysis" + "# Exploratory Data Analysis\n", + "\n", + "An example notebook" ] }, { @@ -42,23 +44,6 @@ "load_dotenv() # take environment variables from .env." ] }, - { - "cell_type": "code", - "execution_count": null, - "id": "3bf3f9ad", - "metadata": { - "ExecuteTime": { - "end_time": "2022-06-28T02:34:02.705067Z", - "start_time": "2022-06-28T02:34:02.696453Z" - } - }, - "outputs": [], - "source": [ - "import matplotlib.pyplot as plt\n", - "%matplotlib inline\n", - "plt.style.use('ggplot')" - ] - }, { "cell_type": "code", "execution_count": null, @@ -71,17 +56,17 @@ }, "outputs": [], "source": [ + "# I like using ggplot colors\n", + "\n", + "import matplotlib.pyplot as plt\n", + "%matplotlib inline\n", + "plt.style.use('ggplot')\n", + "\n", "import numpy as np\n", "import pandas as pd\n", "\n", "from pathlib import Path\n", - "from tqdm.auto import tqdm\n", - "\n", - "\n", - "logging.basicConfig(stream=os.sys.stdout, level=logging.INFO)\n", - "logger = logging.getLogger('nb')\n", - "logger.setLevel(logging.INFO)\n", - "\n" + "from tqdm.auto import tqdm" ] }, { @@ -90,7 +75,15 @@ "id": "6d102e3d", "metadata": {}, "outputs": [], - "source": [] + "source": [ + "# and using the logger\n", + "import logging\n", + "import os\n", + "\n", + "logging.basicConfig(stream=os.sys.stdout, level=logging.INFO)\n", + "logger = logging.getLogger('nb')\n", + "logger.setLevel(logging.INFO)" + ] } ], "metadata": {