Signature Description Parameters
#include <DataFrame/DataFrameStatsVisitors.h>

template<typename T, typename I = unsigned long,
         std::size_t A = 0>
struct KthValueVisitor;

// -------------------------------------

template<typename T, typename I = unsigned long,
         std::size_t A = 0>
using kthv_v = KthValueVisitor<T, I, A>;
        
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 (std::size_t ke, bool skipnan = true);
        
T: Column data type
I: Index type.
A: Memory alignment boundary for vectors. Default is system default alignment
C++ DataFrame