Issue 1075: Add refactored ETL tests to NRI (#1088)

* Adds a substantially refactored ETL test to the National Risk Index, to be used as a model for other tests
This commit is contained in:
Lucas Merrill Brown 2022-02-08 19:05:32 -05:00 committed by GitHub
commit 43e005cc10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 1155 additions and 619 deletions

View file

@ -23,7 +23,7 @@
"metadata": {},
"outputs": [],
"source": [
"data_set = pd.read_excel('nhpd_data.xlsx', engine='openpyxl')"
"data_set = pd.read_excel(\"nhpd_data.xlsx\", engine=\"openpyxl\")"
]
},
{
@ -289,7 +289,9 @@
"source": [
"print(\"No. of data points:\", shape[0])\n",
"print(\"No. of features: \", shape[1])\n",
"print(\"Different property statuses, :\", data_set.loc[:,\"PropertyStatus\"].unique())"
"print(\n",
" \"Different property statuses, :\", data_set.loc[:, \"PropertyStatus\"].unique()\n",
")"
]
},
{