MCPcopy Create free account
hub / github.com/apache/arrow / VisitIterable

Method VisitIterable

python/pyarrow/src/arrow/python/inference.cc:516–520  ·  view source on GitHub ↗

Infer value type from a sequence of values

Source from the content-addressed store, hash-verified

514
515 // Infer value type from a sequence of values
516 Status VisitIterable(PyObject* obj) {
517 return internal::VisitIterable(obj, [this](PyObject* value, bool* keep_going) {
518 return Visit(value, keep_going);
519 });
520 }
521
522 Status GetType(std::shared_ptr<DataType>* out) {
523 // TODO(wesm): handling forming unions

Callers 1

VisitSetMethod · 0.80

Calls 2

VisitIterableFunction · 0.85
VisitFunction · 0.50

Tested by

no test coverage detected