Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a
utils
module for simple utility function that shouldn't necessarily go into ops.Now I've added
to_linspace
which has functionality copied over fromhdc-tools
, to map an input array into linear space. This is useful for using the grouped aggregations introduced in0.3.0
I've also extended the
PeriodAccessors
which alinspace
property, as this is likely one major usecase. In this specific case, the linear array is just the yearly index with 0-index. Still, IMO it's useful to abstract this away so that can be used as direct input.Edit:
PR also includes:
v2
tov4
- default cred timeout is now 1h (should be plenty), and need to verbosely set AWS account ID to masked