ItemsIterator#

class numpy::ItemsIterator#

numpy C++ class.

Example#

#include <numpy/np_ndarray.h>
using namespace numpy;

// Use ItemsIterator
NDArray<double> arr = np::arange<double>(12).reshape({3, 4});
for (auto it = arr.begin(); it != arr.end(); ++it) {
    // ... process elements ...
}

Constructors#

Signature

Location

Example

ItemsIterator(const DataFrame\* df, size_t pos)

df_dataframe.h:969