Signature Description Parameters

template<typename ... Ts>
void
make_consistent();
        
Make all data columns the same length as the index. If any data column is shorter than the index column, it will be padded by nan.
This is also called by sort(), before sorting
Ts: The list of types for all columns. A type should be specified only once.
    std::cout << "\nTesting make_consistent ..." << std::endl;

    df.make_consistent<int, double, std::string>();
    df.shrink_to_fit<int, double, std::string>();
C++ DataFrame