Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 28, 2024
1 parent 7dc7257 commit 859a5e6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/PDFM/map_pdfm_features.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"outputs": [],
"source": [
"county_gdf = gpd.read_file(county_geojson)\n",
"county_gdf.set_index('place', inplace=True)\n",
"county_gdf.set_index(\"place\", inplace=True)\n",
"county_gdf.head()"
]
},
Expand All @@ -152,7 +152,7 @@
"outputs": [],
"source": [
"df = zhvi_df.join(county_gdf)\n",
"zhvi_gdf = gpd.GeoDataFrame(df, geometry='geometry')\n",
"zhvi_gdf = gpd.GeoDataFrame(df, geometry=\"geometry\")\n",
"zhvi_gdf.head()"
]
},
Expand Down Expand Up @@ -269,7 +269,7 @@
"outputs": [],
"source": [
"df = embeddings_df.join(county_gdf)\n",
"embeddings_gdf = gpd.GeoDataFrame(df, geometry='geometry')\n",
"embeddings_gdf = gpd.GeoDataFrame(df, geometry=\"geometry\")\n",
"embeddings_gdf.head()"
]
},
Expand Down Expand Up @@ -479,8 +479,8 @@
"outputs": [],
"source": [
"df = evaluation_df.join(gdf)\n",
"df['difference'] = df['y_pred'] - df['y']\n",
"evaluation_gdf = gpd.GeoDataFrame(df, geometry='geometry')\n",
"df[\"difference\"] = df[\"y_pred\"] - df[\"y\"]\n",
"evaluation_gdf = gpd.GeoDataFrame(df, geometry=\"geometry\")\n",
"evaluation_gdf.drop(columns=[\"category\", \"color\", column], inplace=True)\n",
"evaluation_gdf.head()"
]
Expand Down

0 comments on commit 859a5e6

Please sign in to comment.