jakekara.github.io

Finding bears with Pandas

I wrote some code to get the latest Connecticut bear sightings.

Here’s the gist

I wanted to try out Pandas’ .read_html() method in order to turn html tables into dataframes.

The code downloads the latest count of reported bear sightings for every town in Connecticut from this CT Department of Energy and Environmental Protection DEEP page and turns it into a DataFrame and exports .csv.