enum class shift_policy : unsigned char {
down = 1, // Shift/rotate the content of all columns down, keep index unchanged
up = 2, // Shift/rotate the content of all columns up, keep index unchanged
};
|
This policy is relative to a tabular data structure
There is no right or left shift (like Pandas), because columns in DataFrame have no ordering. They can only be accessed by name
|