Skip to content

Commit

Permalink
remove unneeded print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
nlebovits committed Oct 11, 2024
1 parent 5397e2e commit 5b9f4aa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions data/src/data_utils/city_owned_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ def city_owned_properties(primary_featurelayer: FeatureLayer) -> FeatureLayer:
Processes city-owned property data by joining it with the primary feature layer,
renaming columns, and updating access information for properties based on ownership.
All instances where the "city_owner_agency" is "PLB" are changed to "Land Bank (PHDC)".
The function also prints the counts of properties with "PLB" and "Land Bank (PHDC)" agencies.
Args:
primary_featurelayer (FeatureLayer): The primary feature layer to which city-owned
Expand Down Expand Up @@ -79,8 +78,4 @@ def city_owned_properties(primary_featurelayer: FeatureLayer) -> FeatureLayer:
primary_featurelayer.gdf["city_owner_agency"] == "PLB", "city_owner_agency"
] = "Land Bank (PHDC)"

# Print the counts for "PLB" and "Land Bank (PHDC)"
plb_count = primary_featurelayer.gdf["city_owner_agency"].eq("PLB").sum()
land_bank_count = primary_featurelayer.gdf["city_owner_agency"].eq("Land Bank (PHDC)").sum()

return primary_featurelayer

0 comments on commit 5b9f4aa

Please sign in to comment.