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

Method data

python/pyarrow/src/arrow/python/numpy_internal.h:55–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 int64_t size() const { return PyArray_SIZE(arr_); }
54
55 const T* data() const { return reinterpret_cast<const T*>(data_); }
56
57 bool is_strided() const { return stride_ != sizeof(T); }
58

Callers 15

TestPyBufferNumpyArrayFunction · 0.45
MergeMethod · 0.45
FinalizeMethod · 0.45
ExecMethod · 0.45
CastBufferFunction · 0.45
StaticCastBufferFunction · 0.45
VisitMethod · 0.45
TensorToNdarrayFunction · 0.45
StringToTzinfoFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestPyBufferNumpyArrayFunction · 0.36
TestSessionFunction · 0.36