Skip to content

Commit 302eee6

Browse files
committed
moved and cleaned files
1 parent f52034a commit 302eee6

9 files changed

Lines changed: 63 additions & 198 deletions

data/ARC_Application.xlsx

276 KB
Binary file not shown.

data/ARC_Enrollments.xlsx

118 KB
Binary file not shown.
903 KB
Binary file not shown.

src/Carmen_WORCEmployment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pandas as pd
22

3-
def load_and_clean(file_path="../../data/WORC_Employment.xlsx"):
3+
def load_and_clean(file_path="data/WORC_Employment.xlsx"):
44
"""
55
Loads and cleans the WORC Employment dataset.
66

src/notebooks/Carmen_WORCEmployment_Plots.py renamed to src/Carmen_WORCEmployment_Plots.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import sys
22
import os
3-
4-
# Add the parent directory (src) to sys.path
5-
sys.path.append(os.path.abspath(".."))
6-
3+
import pandas as pd
74
from Carmen_WORCEmployment import load_and_clean
85
import matplotlib.pyplot as plt
96
import seaborn as sns
@@ -56,4 +53,6 @@ def main():
5653

5754

5855
if __name__ == "__main__":
56+
data = pd.read_excel('data/WORC_Employment.xlsx')
57+
worc_clean = load_and_clean()
5958
main()

src/notebooks/cleaning.ipynb

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
{
2828
"cell_type": "code",
29-
"execution_count": 7,
29+
"execution_count": 1,
3030
"id": "05baf9e9",
3131
"metadata": {},
3232
"outputs": [],
@@ -52,7 +52,7 @@
5252
},
5353
{
5454
"cell_type": "code",
55-
"execution_count": 9,
55+
"execution_count": 2,
5656
"id": "3e89bbd7",
5757
"metadata": {},
5858
"outputs": [],
@@ -75,7 +75,7 @@
7575
},
7676
{
7777
"cell_type": "code",
78-
"execution_count": 11,
78+
"execution_count": 3,
7979
"id": "9dd8f3eb",
8080
"metadata": {},
8181
"outputs": [
@@ -119,7 +119,7 @@
119119
},
120120
{
121121
"cell_type": "code",
122-
"execution_count": 10,
122+
"execution_count": 4,
123123
"id": "95ef67fc",
124124
"metadata": {},
125125
"outputs": [
@@ -230,7 +230,7 @@
230230
"6 None None None "
231231
]
232232
},
233-
"execution_count": 10,
233+
"execution_count": 4,
234234
"metadata": {},
235235
"output_type": "execute_result"
236236
}
@@ -272,7 +272,7 @@
272272
},
273273
{
274274
"cell_type": "code",
275-
"execution_count": 12,
275+
"execution_count": 5,
276276
"id": "c493ed94",
277277
"metadata": {},
278278
"outputs": [
@@ -284,6 +284,8 @@
284284
"--- ✅ Copy the Markdown below and paste it into a new markdown cell ---\n",
285285
"\n",
286286
"### **Table of Contents**\n",
287+
"* [Welcome to the new working notebook!](#welcome-to-the-new-working-notebook!)\n",
288+
" * [**Table of Contents**](#**table-of-contents**)\n",
287289
"* [new imports](#new-imports)\n",
288290
"* [Read in the data](#read-in-the-data)\n",
289291
"* [Correct they datatypes here](#correct-they-datatypes-here)\n",
@@ -304,7 +306,7 @@
304306
],
305307
"metadata": {
306308
"kernelspec": {
307-
"display_name": "venv",
309+
"display_name": "venv (3.12.2)",
308310
"language": "python",
309311
"name": "python3"
310312
},

src/notebooks/worc_employment.xlsx

-7.62 KB
Binary file not shown.
-7.87 KB
Binary file not shown.

src/notebooks/worc_employment_plots.ipynb

Lines changed: 50 additions & 186 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)