This commit is contained in:
Saran Ahluwalia 2021-12-20 12:13:01 -05:00
parent e423e62273
commit 43fb09adde

View file

@ -3132,6 +3132,24 @@
"combined_df[\"GEOID10_TRACT\"] = combined_df[\"GEOID10_TRACT\"].astype(str)" "combined_df[\"GEOID10_TRACT\"] = combined_df[\"GEOID10_TRACT\"].astype(str)"
] ]
}, },
{
"cell_type": "code",
"execution_count": 106,
"metadata": {},
"outputs": [],
"source": [
"ma_tracts = combined_df = combined_df[combined_df[\"state_name\"] == \"MA\"]"
]
},
{
"cell_type": "code",
"execution_count": 107,
"metadata": {},
"outputs": [],
"source": [
"ma_tracts.to_csv(\"ma_tracts.csv\")"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 51, "execution_count": 51,