Skip to content

Sums at end of sequence - partial? #18

@danielmcintosh1

Description

@danielmcintosh1

I have a sequence
0 1 0 1 1 1 1 0 1 0 1 0
I want the rolling sum of 3 periods with a right align.
1, 2, 2, 3, 3, 2, 2 , 1, 2, 1, 1, 0.
Instead I am getting
1, 2, 2, 3, 3, 2, 2 , 1, 2, 1, NA, NA
Is this what partial is supposed to solve? How can I get the last n-1 periods to sum correctly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions