DataArg ======= .. cpp:class:: pandas::DataArg pandas C++ class. Example ------- .. code-block:: cpp #include using namespace pandas; // Use DataArg DataArg obj; // ... operations ... Constructors ------------ .. list-table:: :widths: 55 25 20 :header-rows: 1 * - Signature - Location - Example * - ``DataArg() = default`` - pd_func_dispatch.h:279 - * - ``DataArg(DataArg&&) noexcept = default`` - pd_func_dispatch.h:280 - * - ``DataArg(const DataArg&) = delete`` - pd_func_dispatch.h:282 - Other Methods ------------- .. list-table:: :widths: 40 20 15 25 :header-rows: 1 * - Signature - Return Type - Location - Example * - ``static DataArg none()`` - static DataArg - pd_func_dispatch.h:285 - :ref:`View ` Code Examples ------------- The following examples are extracted from the test suite. .. _example-dataarg-none-0: .. dropdown:: none (pd_test_5_all.cpp:90413) :class-title: example-dropdown .. code-block:: cpp :linenos: :lineno-start: 90403 :emphasize-lines: 11 pandas::FillValue::of_bool(true)); (void)r; }, local_fail); } static void f_20_847312_dispatch_complex_none(int& local_fail) { std::cout << "-- f_20_847312_dispatch_complex_none\n"; expect_value_error_duplicate("c12_dispatch_complex_none", [] { auto s = make_series({{1, 2}, {3, 4}, {5, 6}}, {"c1", "c1", "c2"}); auto r = s.reindex_dispatch({"c1", "c2", "c3"}, "", pandas::FillValue::none()); (void)r; }, local_fail); } static void f_20_847313_df_dup_rows_axis0(int& local_fail) { std::cout << "-- f_20_847313_df_dup_rows_axis0\n"; expect_value_error_duplicate("c13_df_dup_rows_axis0", [] { std::vector> cols; cols.emplace_back(std::vector{10, 20, 30}); cols.emplace_back(std::vector{40, 50, 60});