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

Method CanZeroCopy

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

Source from the content-addressed store, hash-verified

1416 using TypedPandasWriter<NPY_TYPE>::TypedPandasWriter;
1417
1418 bool CanZeroCopy(const ChunkedArray& data) const override {
1419 return IsNonNullContiguous(data);
1420 }
1421
1422 Status CopyInto(std::shared_ptr<ChunkedArray> data, int64_t rel_placement) override {
1423 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