-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add
at_date_annually
knowledge horizon function (#172)
* add at_date_annually Signed-off-by: Victor Garcia Reolid <[email protected]> * allow shifting more than 1 year Signed-off-by: Victor Garcia Reolid <[email protected]> * add timezone Signed-off-by: Victor Garcia Reolid <[email protected]> * PR change suggestions Signed-off-by: Victor Garcia Reolid <[email protected]> * apply black Signed-off-by: Victor Garcia Reolid <[email protected]> * get bounds Signed-off-by: Victor Garcia Reolid <[email protected]> * apply black Signed-off-by: Victor Garcia Reolid <[email protected]> * fix sign Signed-off-by: Victor Garcia Reolid <[email protected]> * add comments Signed-off-by: Victor Garcia Reolid <[email protected]> * fix constant Signed-off-by: Victor Garcia Reolid <[email protected]> * vectorize x_years_ago_at_date Signed-off-by: Victor Garcia Reolid <[email protected]> * fix bound and vectorized implementations Signed-off-by: Victor Garcia Reolid <[email protected]> * docs: fix typos Signed-off-by: F.N. Claessen <[email protected]> * style: black Signed-off-by: F.N. Claessen <[email protected]> * refactor: clarify test parameter Signed-off-by: F.N. Claessen <[email protected]> * fix: move +1 Signed-off-by: F.N. Claessen <[email protected]> * refactor: align use of util module with x_days_ago_at_y_o_clock Signed-off-by: F.N. Claessen <[email protected]> * fix: DST transitions Signed-off-by: F.N. Claessen <[email protected]> * feature: also test DatetimeIndex against DST transitions Signed-off-by: F.N. Claessen <[email protected]> * style: black and isort Signed-off-by: F.N. Claessen <[email protected]> * style: black Signed-off-by: F.N. Claessen <[email protected]> --------- Signed-off-by: Victor Garcia Reolid <[email protected]> Signed-off-by: F.N. Claessen <[email protected]> Co-authored-by: F.N. Claessen <[email protected]>
- Loading branch information
1 parent
8fc6cc2
commit 8868139
Showing
3 changed files
with
230 additions
and
3 deletions.
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