mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-26 18:51:17 -07:00
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:
parent
f5fe8d90e2
commit
43e005cc10
41 changed files with 1155 additions and 619 deletions
|
@ -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",
|
||||
")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue