#include <DataFrame/DataFrameStatsVisitors.h>
template<typename T, typename I = unsigned long>
struct KthValueVisitor;
|
This is a “single action visitor”, meaning it is passed the whole data vector in one call and you must use the single_act_visit() interface.
This functor class finds the Kth element in the given column in linear time.
explicit KthValueVisitor (size_type ke, bool skipnan = true);
|
T: Column data type
I: Index type
|