Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iss119 #120

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open

Iss119 #120

wants to merge 7 commits into from

Conversation

Pizza2Pizza
Copy link
Collaborator

@Pizza2Pizza Pizza2Pizza commented Jan 17, 2025

fix to the issue 119: #119
changed functions in tools.isboundary.py to work with both objects and strings for frequencies
changes and notes can be found with ATTN!


📚 Documentation preview 📚: https://portfolyo--120.org.readthedocs.build/en/120/

Copy link
Owner

@rwijtvliet rwijtvliet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thanks for the code :)

Do I understand correctly that it's an improvement, but there are still quite a few TODOs left (the ATTN comments) but that they are not necessary for your current use-case?

@@ -227,6 +227,7 @@ def assert_index_standardized(i: pd.DatetimeIndex, __right: bool = False):
if tools_freq.up_or_down(freq, "D") > 0:
if freq == "MS":
period, not_ok = "month", ~i.is_month_start
# ATTN!: again, this now wouldn't work as expected
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the comment applies to the QS and YS case, then de-indent it one level please

@Pizza2Pizza
Copy link
Collaborator Author

Hey, thanks for the code :)

Do I understand correctly that it's an improvement, but there are still quite a few TODOs left (the ATTN comments) but that they are not necessary for your current use-case?

not really, attn comments are more to show that this line was changed and there were no tests for this function (where the comment is) with new freq
but yeah, there is still a lot to do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants