Signature | Description | Parameters |
---|---|---|
#include <DataFrame/DataFrameStatsVisitors.h> template<typename T, typename I = unsigned long, typename Cmp = std::less<T>> struct ExtremumVisitor; // ------------------------------------- template<typename T, typename I = unsigned long> using MaxVisitor = ExtremumVisitor<T, I, std::less<T>>; template<typename T, typename I = unsigned long> using MinVisitor = ExtremumVisitor<T, I, std::greater<T>>; |
This functor class calculates the maximum/minimum (depending on the type of Cmp. the default is maximum) of a given column. The constructor takes a single optional Boolean argument to whether skip NaN values. The default is True. |
T: Column data type I: Index type |