Python Function Multiple Input Arguments Must Be Numeric Datetime