Fun with city subreddits
6 February 2017
Fun with city subreddits 6 February 2017 I’ve been playing with python to try to learn how to make maps using Matplotlib. As it turns out, it’s not all that complicated. Using Reddit’s API I scraped the top 300 posts from the largest city subreddits in the United States and Canada. After some data wrangling I end up with a Pandas dataframe with the coordinates of the city, as well as all the titles of the top 300 posts associated with that city’s reddit. ...