mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-25 07:10:16 -07:00
Fixing missing FEMA fields (#892)
This commit is contained in:
parent
21834b4a91
commit
e8d64df510
3 changed files with 0 additions and 26 deletions
|
@ -320,28 +320,6 @@
|
|||
"# )"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "4b74b0bf",
|
||||
"metadata": {
|
||||
"scrolled": true
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Create a FEMA risk index score\n",
|
||||
"# Note: this can be deleted at a later date.\n",
|
||||
"FEMA_EXPECTED_ANNUAL_LOSS_RATE_FIELD = (\n",
|
||||
" \"FEMA Risk Index Expected Annual Loss Rate\"\n",
|
||||
")\n",
|
||||
"FEMA_COMMUNITIES = \"FEMA Risk Index (top 30th percentile)\"\n",
|
||||
"merged_df[FEMA_COMMUNITIES] = (\n",
|
||||
" merged_df[f\"{FEMA_EXPECTED_ANNUAL_LOSS_RATE_FIELD} (percentile)\"] > 0.70\n",
|
||||
")\n",
|
||||
"\n",
|
||||
"merged_df[FEMA_COMMUNITIES].describe()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue