returns dataframe of PV with approximate operating period, baed on median of start and end time.
df_With_on_time(df)
df
df with num_time
input data with one more column of on_time
Arash Khalilnejad