DataArg#
-
class pandas::DataArg#
pandas C++ class.
Example#
#include <pandas/pandas.h>
using namespace pandas;
// Use DataArg
DataArg obj;
// ... operations ...
Constructors#
Signature |
Location |
Example |
|---|---|---|
|
pd_func_dispatch.h:279 |
|
|
pd_func_dispatch.h:280 |
|
|
pd_func_dispatch.h:282 |
Other Methods#
Signature |
Return Type |
Location |
Example |
|---|---|---|---|
|
static DataArg |
pd_func_dispatch.h:285 |
Code Examples#
The following examples are extracted from the test suite.
none (pd_test_5_all.cpp:90413)
90403 pandas::FillValue::of_bool(true));
90404 (void)r;
90405 }, local_fail);
90406}
90407
90408static void f_20_847312_dispatch_complex_none(int& local_fail) {
90409 std::cout << "-- f_20_847312_dispatch_complex_none\n";
90410 expect_value_error_duplicate("c12_dispatch_complex_none", [] {
90411 auto s = make_series<cplx>({{1, 2}, {3, 4}, {5, 6}}, {"c1", "c1", "c2"});
90412 auto r = s.reindex_dispatch({"c1", "c2", "c3"}, "",
90413 pandas::FillValue::none());
90414 (void)r;
90415 }, local_fail);
90416}
90417
90418static void f_20_847313_df_dup_rows_axis0(int& local_fail) {
90419 std::cout << "-- f_20_847313_df_dup_rows_axis0\n";
90420 expect_value_error_duplicate("c13_df_dup_rows_axis0", [] {
90421 std::vector<pandas::Series<std::int64_t>> cols;
90422 cols.emplace_back(std::vector<std::int64_t>{10, 20, 30});
90423 cols.emplace_back(std::vector<std::int64_t>{40, 50, 60});