/challenge

Code challenge set by Totvs

Primary LanguagePython

challenge

This is a set of sripts for answering the Totvs data challenge. The folder here contains the following files:

  1. basics.py - this contains simple code that outlines the nature of the challenge.json data set
  2. 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
  3. challenge.py - this contains code required to answer the questions posed in the challenge
  4. 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.