Skip to content

Commit

Permalink
fix: Remove unused imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiana committed Sep 22, 2022
1 parent bfe9139 commit 985fbd1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
8 changes: 2 additions & 6 deletions examples/usaairquality/usaairquality.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,7 @@
"metadata": {},
"outputs": [],
"source": [
"from pathlib import Path\n",
"\n",
"import numpy as np\n",
"import pandas as pd\n",
"import requests\n",
"\n",
"from pandas_profiling.utils.cache import cache_file\n",
"from pandas_profiling import ProfileReport"
Expand Down Expand Up @@ -272,7 +268,7 @@
" profile = ProfileReport(\n",
" group[1],\n",
" tsmode=True,\n",
" sortby=[\"Date Local\"],\n",
" sortby=\"Date Local\",\n",
" #title=f\"Air Quality profiling - Site Num: {group[0]}\"\n",
" )\n",
" \n",
Expand All @@ -296,7 +292,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.8.12"
},
"varInspector": {
"cols": {
Expand Down
7 changes: 3 additions & 4 deletions examples/usaairquality/usaairquality.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from pathlib import Path

import numpy as np
"""
Time-series profiling example for USA AirQuality dataset
"""
import pandas as pd
import requests

from pandas_profiling.utils.cache import cache_file
from pandas_profiling.visualisation.plot import timeseries_heatmap
Expand Down

0 comments on commit 985fbd1

Please sign in to comment.