DataFrameInfo ============= .. cpp:class:: pandas::DataFrameInfo pandas C++ class. Example ------- .. code-block:: cpp #include using namespace pandas; // Use DataFrameInfo DataFrameInfo obj; // ... operations ... Type Checking ------------- .. list-table:: :widths: 40 20 15 25 :header-rows: 1 * - Signature - Return Type - Location - Example * - ``bool is_debug_build()`` - bool - PD_CONFIG.H:11 - Other Methods ------------- .. list-table:: :widths: 40 20 15 25 :header-rows: 1 * - Signature - Return Type - Location - Example * - ``const char \* build_date()`` - const char \* - PD_CONFIG.H:10 - * - ``const char \* version()`` - const char \* - PD_CONFIG.H:9 - :ref:`View ` Code Examples ------------- The following examples are extracted from the test suite. .. _example-dataframeinfo-version-0: .. dropdown:: version (pd_test_1_all.cpp:940) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 930 :emphasize-lines: 11 #include #include "../pandas/pd_config.h" namespace dataframe_tests { namespace dataframe_tests_config { void pd_test_config_version() { std::cout << "========= df_config: version info ======================= "; const char* version = pandas::DataFrameInfo::version(); if (version == nullptr || std::string(version).empty()) { std::cout << "[FAIL] : in pd_test_config_version() : version is null or empty" << std::endl; throw std::runtime_error("pd_test_config_version failed: version is null or empty"); } std::cout << "-> tests passed" << std::endl; } void pd_test_config_na_repr() { std::cout << "========= df_config: NA representation ======================= "; const char* na_repr = pandas::DataFrameConfig::get_na_repr();