mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-07 10:44:18 -07:00
Issue 105: Configure and run black
and other pre-commit hooks (clean branch) (#1962)
* Configure and run `black` and other pre-commit hooks Co-authored-by: matt bowen <matthew.r.bowen@omb.eop.gov>
This commit is contained in:
parent
baa34ec038
commit
6e6223cd5e
162 changed files with 716 additions and 602 deletions
|
@ -18,7 +18,10 @@
|
|||
" sys.path.append(module_path)\n",
|
||||
"\n",
|
||||
"from data_pipeline.config import settings\n",
|
||||
"from data_pipeline.etl.sources.geo_utils import add_tracts_for_geometries, get_tract_geojson\n"
|
||||
"from data_pipeline.etl.sources.geo_utils import (\n",
|
||||
" add_tracts_for_geometries,\n",
|
||||
" get_tract_geojson,\n",
|
||||
")"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -655,9 +658,9 @@
|
|||
}
|
||||
],
|
||||
"source": [
|
||||
"adjacent_tracts.groupby(\"ORIGINAL_TRACT\")[[\"included\"]].mean().reset_index().rename(\n",
|
||||
" columns={\"ORIGINAL_TRACT\": \"GEOID10_TRACT\"}\n",
|
||||
")"
|
||||
"adjacent_tracts.groupby(\"ORIGINAL_TRACT\")[\n",
|
||||
" [\"included\"]\n",
|
||||
"].mean().reset_index().rename(columns={\"ORIGINAL_TRACT\": \"GEOID10_TRACT\"})"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue