def minute_timedeltas_wrt_first(datetime_lst: list) -> list:
    "\n    Converts a list of datetime objects into a list of minute time deltas with respect to the first item.\n    For example, given the input datetime_lst:\n    [\n        '2019-08-22 14:32',\n        '2019-08-22 14:38',\n        '2019-08-22 14:42',\n        '2019-08-22 14:52',\n        '2019-08-22 14:57'\n    ],\n    the result would be:\n    [32, 38, 42, 52, 57]\n\n    :param datetime_lst: list of datetime objects\n    :return: minute time deltas with respect to the first item of datetime_lst\n    "
    first_datetime: datetime = datetime_lst[0]
    partial_deltas = [minute_timedelta(first=first_datetime, second=v) for v in datetime_lst[1:]]
    first_minutes = first_datetime.minute
    return ([first_minutes] + list(map((lambda x: (x + first_minutes)), partial_deltas)))
Converts a list of datetime objects into a list of minute time deltas with respect to the first item.
For example, given the input datetime_lst:
[
    '2019-08-22 14:32',
    '2019-08-22 14:38',
    '2019-08-22 14:42',
    '2019-08-22 14:52',
    '2019-08-22 14:57'
],
the result would be:
[32, 38, 42, 52, 57]

:param datetime_lst: list of datetime objects
:return: minute time deltas with respect to the first item of datetime_lst
def minute_timedeltas_wrt_first(datetime_lst: list) -> list:
    "\n    Converts a list of datetime objects into a list of minute time deltas with respect to the first item.\n    For example, given the input datetime_lst:\n    [\n        '2019-08-22 14:32',\n        '2019-08-22 14:38',\n        '2019-08-22 14:42',\n        '2019-08-22 14:52',\n        '2019-08-22 14:57'\n    ],\n    the result would be:\n    [32, 38, 42, 52, 57]\n\n    :param datetime_lst: list of datetime objects\n    :return: minute time deltas with respect to the first item of datetime_lst\n    "
    first_datetime: datetime = datetime_lst[0]
    partial_deltas = [minute_timedelta(first=first_datetime, second=v) for v in datetime_lst[1:]]
    first_minutes = first_datetime.minute
    return ([first_minutes] + list(map((lambda x: (x + first_minutes)), partial_deltas)))