DataFrameInfo#

class pandas::DataFrameInfo#

pandas C++ class.

Example#

#include <pandas/pandas.h>
using namespace pandas;

// Use DataFrameInfo
DataFrameInfo obj;
// ... operations ...

Type Checking#

Signature

Return Type

Location

Example

bool is_debug_build()

bool

PD_CONFIG.H:11

Other Methods#

Signature

Return Type

Location

Example

const char \* build_date()

const char *

PD_CONFIG.H:10

const char \* version()

const char *

PD_CONFIG.H:9

View

Code Examples#

The following examples are extracted from the test suite.

version (pd_test_1_all.cpp:940)
930#include <stdexcept>
931
932#include "../pandas/pd_config.h"
933
934namespace dataframe_tests {
935
936namespace dataframe_tests_config {
937
938    void pd_test_config_version() {
939        std::cout << "========= df_config: version info ======================= ";
940        const char* version = pandas::DataFrameInfo::version();
941        if (version == nullptr || std::string(version).empty()) {
942            std::cout << "[FAIL] : in pd_test_config_version() : version is null or empty" << std::endl;
943            throw std::runtime_error("pd_test_config_version failed: version is null or empty");
944        }
945        std::cout << "-> tests passed" << std::endl;
946    }
947
948    void pd_test_config_na_repr() {
949        std::cout << "========= df_config: NA representation ======================= ";
950        const char* na_repr = pandas::DataFrameConfig::get_na_repr();