Cameras and Lens on 500px

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.

  1. 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.

  2. Summarize. Just some split-apply-combine processes, with pandas this can be done with groupby and aggs.

  3. 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
    alt text

  • by category
    alt text

The map

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