def METHOD_NAME(fname):
    ## mock DB query
    for row in load(fname):
        st = row["measurement_start_time"]
        if isinstance(st, int):
            row["measurement_start_time"] = datetime.utcfromtimestamp(st)
        else:
            row["measurement_start_time"] = datetime.strptime(st, "%Y-%m-%d %H:%M:%S")
        yield row