I have two geodataframes: One containing sightings of animals of a specific species called bird_df (with location as points), and the other detailing the boundaries of each municipality within my state called map_df.
I want to use the geopandas method .contains(x) to count the number of animals that were found in each municipality and add that total to the boundaries dataframe so i can generate a choropleth.
My pandas is a bit rusty but I've tried things like
map_df[map_df["geometry"].contains(bird_df["geometry"]) == True]
I just don't know how to wrap my head around this problem. Some help would be appreciated.
Thanks
