Skip to content

Commit cbd031b

Browse files
committed
moved everything to func
1 parent 2c41870 commit cbd031b

File tree

2 files changed

+597
-785
lines changed

2 files changed

+597
-785
lines changed

equity_index/01_hcd_income_limit.ipynb

Lines changed: 5 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": 24,
5+
"execution_count": null,
66
"id": "0ff0cf22-9eb0-470a-a2ae-b60728907ed2",
77
"metadata": {},
88
"outputs": [],
@@ -14,7 +14,7 @@
1414
},
1515
{
1616
"cell_type": "code",
17-
"execution_count": 9,
17+
"execution_count": null,
1818
"id": "2d73318a-d91f-41ae-87f9-d71839c6e5f4",
1919
"metadata": {},
2020
"outputs": [],
@@ -27,7 +27,7 @@
2727
},
2828
{
2929
"cell_type": "code",
30-
"execution_count": 39,
30+
"execution_count": null,
3131
"id": "5052ccd3-28e4-4e3d-bfbe-88e8f2fd6dce",
3232
"metadata": {},
3333
"outputs": [],
@@ -143,83 +143,10 @@
143143
},
144144
{
145145
"cell_type": "code",
146-
"execution_count": 40,
146+
"execution_count": null,
147147
"id": "c294b576-3578-44d1-a71d-d2fbfc535e38",
148148
"metadata": {},
149-
"outputs": [
150-
{
151-
"data": {
152-
"text/plain": [
153-
"<pdfplumber.pdf.PDF at 0x7c97c8b39490>"
154-
]
155-
},
156-
"metadata": {},
157-
"output_type": "display_data"
158-
},
159-
{
160-
"data": {
161-
"text/plain": [
162-
"<Page:6>"
163-
]
164-
},
165-
"metadata": {},
166-
"output_type": "display_data"
167-
},
168-
{
169-
"name": "stdout",
170-
"output_type": "stream",
171-
"text": [
172-
"Warning: expected 58 counties, found 0. If you see 57, double-check that page bounds include both 13 and 14.\n"
173-
]
174-
},
175-
{
176-
"data": {
177-
"text/html": [
178-
"<div>\n",
179-
"<style scoped>\n",
180-
" .dataframe tbody tr th:only-of-type {\n",
181-
" vertical-align: middle;\n",
182-
" }\n",
183-
"\n",
184-
" .dataframe tbody tr th {\n",
185-
" vertical-align: top;\n",
186-
" }\n",
187-
"\n",
188-
" .dataframe thead th {\n",
189-
" text-align: right;\n",
190-
" }\n",
191-
"</style>\n",
192-
"<table border=\"1\" class=\"dataframe\">\n",
193-
" <thead>\n",
194-
" <tr style=\"text-align: right;\">\n",
195-
" <th></th>\n",
196-
" <th>county</th>\n",
197-
" <th>one</th>\n",
198-
" <th>two</th>\n",
199-
" <th>three</th>\n",
200-
" <th>four</th>\n",
201-
" <th>five</th>\n",
202-
" <th>six</th>\n",
203-
" <th>seven</th>\n",
204-
" <th>eight</th>\n",
205-
" </tr>\n",
206-
" </thead>\n",
207-
" <tbody>\n",
208-
" </tbody>\n",
209-
"</table>\n",
210-
"</div>"
211-
],
212-
"text/plain": [
213-
"Empty DataFrame\n",
214-
"Columns: [county, one, two, three, four, five, six, seven, eight]\n",
215-
"Index: []"
216-
]
217-
},
218-
"execution_count": 40,
219-
"metadata": {},
220-
"output_type": "execute_result"
221-
}
222-
],
149+
"outputs": [],
223150
"source": [
224151
"extract_low_income_limits(pdf_path = \"./hcd_income_limits_2024.pdf\",\n",
225152
" start_page = 6,\n",

0 commit comments

Comments
 (0)