Skip to content

Commit

Permalink
save jupyter notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
harishkumarchandra committed Nov 6, 2020
1 parent b49e212 commit 2c9b076
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 0 deletions.
59 changes: 59 additions & 0 deletions .ipynb_checkpoints/Project1-checkpoint.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"# Initial imports\n",
"import os\n",
"import requests\n",
"import pandas as pd\n",
"from pathlib import Path"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"# set path\n",
"gold_csv_path = Path(\"../Resources/annual_wages.csv\")\n",
"wages_csv_path = Path(\"../Resources/annual_wages.csv\")\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"gold_price_df = pd.read_csv(gold_csv_path, index_col=\"Date\", parse_dates=True, infer_datetime_format=True)\n",
"annual_wages_df = pd.read_csv(wages_csv_path, index_col=\"Date\", parse_dates=True, infer_datetime_format=True)\n"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.7"
}
},
"nbformat": 4,
"nbformat_minor": 4
}
59 changes: 59 additions & 0 deletions Project1.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"# Initial imports\n",
"import os\n",
"import requests\n",
"import pandas as pd\n",
"from pathlib import Path"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"# set path\n",
"gold_csv_path = Path(\"../Resources/annual_wages.csv\")\n",
"wages_csv_path = Path(\"../Resources/annual_wages.csv\")\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"gold_price_df = pd.read_csv(gold_csv_path, index_col=\"Date\", parse_dates=True, infer_datetime_format=True)\n",
"annual_wages_df = pd.read_csv(wages_csv_path, index_col=\"Date\", parse_dates=True, infer_datetime_format=True)\n"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.7"
}
},
"nbformat": 4,
"nbformat_minor": 4
}

0 comments on commit 2c9b076

Please sign in to comment.