-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented function to resample time series object (#269)
* Implemented function resample_timeseries(self, method) to resample time series object Time series object is resampled from hourly to quarter hourly resolution. Three possible methods to fill missing values * ffill (see: https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.ffill.html) * bfill (see: https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.bfill.html) * interpolate (see: https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.interpolate.html) * Added freq parameter * Added input parameter and wrapper function for `resample_timeseries` Added input parameter `freq` to the function and added wrapper function in `EDisGo` class * Added basic tests for function `resample_timeseries()` * Added downsampling * Added tests for down-sampling method * Added documentation and NotImplementedError * fixed tests for timeseries resampling * minor doc string change * debug github * debug github * debug github * debug github * corrected pandas links in docstrings * Fix API doc * Expand and reference docstring * Fix docstring link * Add comments * Expand test * Fix test Co-authored-by: Kilian Helfenbein <Kilian.Helfenbein@rl-institut.de> Co-authored-by: birgits <birgit.schachler@rl-institut.de>
- Loading branch information
1 parent
1f05023
commit 703507a
Showing
3 changed files
with
197 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters