Signature Description

enum class  roll_policy : unsigned char  {
    // Roll one block of data at a time
    // The length of result will be "input length / rolling period"
    //
    blocks = 1,

    // Roll one data point at a time
    // The length of result will be "input length - rolling period"
    //
    continuous = 2,
};
        
Enumerated type to specify how to roll different statistics over input series
C++ DataFrame