BruceJohnJennerLawso / scrap

Hockey stats analysis done by scraping the data to a csv file, then processing/analyzing them with more python.
3 stars 0 forks source link

Break down strobe date/time strings and convert to standard format #129

Open BruceJohnJennerLawso opened 7 years ago

BruceJohnJennerLawso commented 7 years ago

Currently, the strobe dump has the date and time of games represented by one string, ie

'Fri Nov 20 @ 11:00 pm'

which mashes the time and date together, doesnt use military time for simplicity, and neglects to record the year in question.

Need to create a script which rolls over all of the team csvs, opens them, and, important note, adds additional columns with the date as dd/mm/yyyy, & the time in military time. The year will need to be inferred from the directory path that the script is using to open the file, and pretty much all the rest can be done with string processing functions.