rwijtvliet / portfolyo

Handling timeseries for power and gas retail portfolios.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Improve the way how slice resp. loc work with sod for (quarter)hourly PfLines #81

Closed Pizza2Pizza closed 5 months ago

Pizza2Pizza commented 6 months ago

Let's say we have PfLine with hourly values and a SOD of 06:00. index =pd.date_range("2022 06:00","2023-01-01 06:00", freq ="H") pfl = dev.get_flatpfline(index) If I slice, either pfl.slice['2022-01-01':] or pfl.slice[:'2022-01-01'] , I want the result to still have a SOD of 06:00.

After standardize function is updated, the indices will be bottleneck and must be created with cautious.

Pizza2Pizza commented 5 months ago

issue resolved by: https://github.com/rwijtvliet/portfolyo/pull/82