I want to buy a camera, and wonder what equipments are the beautiful pictures on 500px made with.
With a little searching I found the 500px API and it is exactly what I need to do the job. The code is really simple so I just talk some main steps below. One thing to mention: There is quite a distance between the statistics and the consumption decision. If this does not make sense to you, just read this post for fun and forget it.
Download the pictures metadata. This can be done easily with the help of the 500px API. This is a network io job so you can benefit with using multi-threading, the simplest way is using
concurrent.futures.ThreadPoolExecutor.Summarize. Just some split-apply-combine processes, with
pandasthis can be done withgroupbyandaggs.Mark on a map. Some picutres contains geo data, we can use it to mark the location in a map. This is not a task at first but it’s interesting, so I add it here.
Result
by model

by category

The map
Note that this map not well polished, but you can get a rough feeling.