#include <DataFrame/DataFrameStatsVisitors.h>
template<typename T,
typename I = unsigned long,
typename =
typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
struct ProdVisitor;
|
This functor class calculates the product 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.
|