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

feat: sample builders #24

Merged
merged 1 commit into from
Nov 21, 2024
Merged

feat: sample builders #24

merged 1 commit into from
Nov 21, 2024

Conversation

egorchakov
Copy link
Contributor

This PR introduces sample builders based on polars.DataFrame.rolling and polars.DataFrame.group_by_dynamic operating on int/time columns.

NOTE: resulting samples may not be of the same length due to windowing -- though that can be enforced through a array_length(...) == N filter clause (see config/_templates/dataset/yaak.yaml)

@egorchakov egorchakov merged commit a7db0a9 into main Nov 21, 2024
1 check passed
@egorchakov egorchakov deleted the feat/sample-builders branch November 21, 2024 12:10
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