I have the following python script allowing me to print my data as an array. This is for a 1 min interval (In Unix Time). Assuming I have a much larger data, how can I dynamically change/convert my data to a different timeframe (e.g., 5 min, 1 hr, day, week, etc)?
Code
The above python script creates the output of the following: