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

Method CanZeroCopy

python/pyarrow/src/arrow/python/arrow_to_pandas.cc:1442–1444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1440 using TypedPandasWriter<NPY_TYPE>::TypedPandasWriter;
1441
1442 bool CanZeroCopy(const ChunkedArray& data) const override {
1443 return IsNonNullContiguous(data);
1444 }
1445
1446 Status CopyInto(std::shared_ptr<ChunkedArray> data, int64_t rel_placement) override {
1447 RETURN_NOT_OK(this->CheckTypeExact(*data->type(), ArrowType::type_id));

Callers

nothing calls this directly

Calls 1

IsNonNullContiguousFunction · 0.85

Tested by

no test coverage detected