Question: def get_time_max_min(time, reading): Take in two lists and returns the value and time at the minimum and maximum for the reading. The reading will

def get_time_max_min(time, reading): """ Take in two lists and returns the value and time at the minimum and maximum for the reading. The reading will be barometric pressure, heat index, temperature, etc. :param time: list of np.datetime64 objects :param reading: list of floats :return: tuple containing (min_value, time_at_min, max_value, time_at_max) where the time is np.datetime64 and values are floats """ pass
def get_time_max_min(time, reading): Take in two lists and returns the value and time at the minimum and maximum for the reading. The reading will be barometric pressure, heat index, temperature, etc. :param time: list of np.datetime64 objects :param reading: list of floats :return: tuple containing (min_value, time_at_min, max_value, time_at_max) where the time is np.datetime64 and values are floats pass |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
