ИБ
def do_magic(hour_start, hour_end, interested_hour):
...
return times
for i in range(24)
validate['hour_' + i] = validate.apply(lambda x: do_magic(x['hour_start'], x['hour_end'], i), axis=1)
Size: a a a
ИБ
validate['hour_' + i] = validate.apply(lambda x: do_magic(x['hour_start'], x['hour_end'], i), axis=1)
P
P
P
ИБ
P
ИБ
P
P
SF
P
P
ИБ
P
P
P
P
AS
P
AS