Tag: python

  1. NBA Player Tracking

    Since the 2013-14 season, the NBA has installed special cameras in every NBA stadium allowing teams to track every single player and ball movement, and digitize it into data that their data scientists can crunch into ever more sophisticated metrics on team and player performance. What's even more amazing is…

    on python nba basketball sportsvu

  2. Tupper's self-referential formula

    So here's something cool. This formula: $$\frac{1}{2} < \lfloor mod(\lfloor\frac{y}{17}\rfloor2^{-17\lfloor x \rfloor -mod(\lfloor y\rfloor,17)},2)\rfloor$$ will literally plot itself if you look at the right region. where k is this 543-digit integer: 960 939 379 918 958…

    on quine python tupper

  3. Towers of Hanoi

    An age-old puzzle that's challenged kids and pancake chefs for ages: The goal of the puzzle is to move an entire stack of disks from one rod/plate to another with the following restrictions: Only one disk can be moved at a time. Each move consists of taking the upper…

    on python recursion dynamic programming towers hanoi

  4. Analyzing NYC Subway Data with Python

    MTA provides a public dataset of turnstile data per station since May 2010. We can grab weather data from Weather Underground, who kindly provides historical weather data in CSV format. You can also grab the same data through their API. Data Munging The data we collected so far usuable yet,…

    on python pandas ggplot