Fixing missing FEMA fields (#892)

This commit is contained in:
Lucas Merrill Brown 2021-11-15 11:06:44 -05:00 committed by GitHub
commit e8d64df510
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 26 deletions

View file

@ -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,