templat<typename T, typename I = unsigned long>
struct CumMaxVisitor;
|
This is a “single action visitor”, meaning it is passed the whole data vector
in one call and you must use the single_action_visit() interface.
This functor class calculates the cumulative maximum of a given column.
The constructor takes a single optional Boolean argument to whether skip NaN values. The default is True.
See this document and dataframe_tester.cc for examples.
The result is a vector of running maximums
|
T: Column data type.
I: Index type.
|