A library for working with phylogenetic and population genetic data.
v0.27.0
utils/containers/dataframe/operators.hpp File Reference
#include "genesis/utils/containers/dataframe.hpp"
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::utils
 

Functions

void convert_to_bool (Dataframe &df, size_t col_index)
 
void convert_to_bool (Dataframe &df, std::string const &col_name)
 
void convert_to_double (Dataframe &df, size_t col_index)
 
void convert_to_double (Dataframe &df, std::string const &col_name)
 
bool is_convertible_to_bool (Dataframe const &df, size_t col_index)
 
bool is_convertible_to_bool (Dataframe const &df, std::string const &col_name)
 
bool is_convertible_to_double (Dataframe const &df, size_t col_index)
 
bool is_convertible_to_double (Dataframe const &df, std::string const &col_name)
 
std::string summarize_column (Dataframe const &df, size_t col_index)
 
std::string summarize_column (Dataframe const &df, std::string const &col_name)
 
std::string summarize_columns (Dataframe const &df)
 
bool validate (Dataframe const &df)