/codingtask1

Quantcast's first coding task question

Primary LanguagePython

codingtask1

Quantcast's first coding task question

Requirements: Python 3.9+ Command to run: ./python3 most_active_cookie.py <cookie log file> -d <date>

<cookie log file> should be replaced with the name of the file

<date> should be replaced with the date in the format YYYY-MM-DD

Description

Outputs the most active cookie given a csv cookie log file. cookie_log.csv is made from the example given by the prompt. cookie_log2.csv is a csv file that is modified to test the script a little more thoroughly.

most_active_cookie_test.py is a unit test script of most_active_cookie file, though more specifically it tests the data retrieved rather than the actual console output.