Skip to content

TST: add test with freq=2M to increase coverage asfreq #54183

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

Conversation

natmokval
Copy link
Contributor

xref #52064

Added a test in which a Series has a PeriodIndex with freq=2M to increase coverage asfreq.
The reason: existing tests don't cover a case if the index of a Series is a PeriodIndex with freq=2M, then asfreq converts time series to a new one with the frequency freq=M.

@natmokval natmokval marked this pull request as ready for review July 19, 2023 06:08
@natmokval
Copy link
Contributor Author

@MarcoGorelli, could you please take a look at this pr?

@MarcoGorelli MarcoGorelli added Period Period data type Needs Tests Unit test(s) needed to prevent regressions labels Jul 19, 2023
@MarcoGorelli MarcoGorelli added this to the 2.1 milestone Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Tests Unit test(s) needed to prevent regressions Period Period data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants