Closed TarenGorman closed 6 years ago
Do you think it best to leave it as two params, dt and timestamps?
Or.. should it just be the dt param.. and if dt is given as a list/np.array _derivative follows the timestamps logic?
You could write a check to make sure that it is either dt or timestamps. Or just default to timestamps if they are provided.
Your test fails. Could you please check that?
Should be passing now, syntax issue.
Sweet.
Can you vectorize the main for-loop in _derivative?