This is a set of sripts for answering the Totvs data challenge. The folder here contains the following files:
- basics.py - this contains simple code that outlines the nature of the challenge.json data set
- new-customers.py - this is designed to calculate the number of new sign ups per month. It's a cumbersome procedure which I didn't optimise, owing to the time constraint available for doing the challenge
- challenge.py - this contains code required to answer the questions posed in the challenge
- mlhayden.py - some basic functions used by other scripts
Note: Only challenge.py need really be run. The other scripts are optional. I included them only to demonstrate how I obtained the information I used to answer the questions.