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

Method offset

python/pyarrow/interchange/column.py:254–262  ·  view source on GitHub ↗

Offset of first element. May be > 0 if using chunks; for example for a column with N chunks of equal size M (only the last chunk may be shorter), ``offset = n * M``, ``n = 0 .. N-1``.

(self)

Source from the content-addressed store, hash-verified

252
253 @property
254 def offset(self) -> int:
255 """
256 Offset of first element.
257
258 May be > 0 if using chunks; for example for a column with N chunks of
259 equal size M (only the last chunk may be shorter),
260 ``offset = n * M``, ``n = 0 .. N-1``.
261 """
262 return self._col.offset
263
264 @property
265 def dtype(self) -> Tuple[DtypeKind, int, str, str]:

Callers 3

GetPrimitiveValuesFunction · 0.45
toMATLABMethod · 0.45
getValidMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected