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

Function Table__Slice1

r/src/table.cpp:86–90  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

84
85// [[arrow::export]]
86std::shared_ptr<arrow::Table> Table__Slice1(const std::shared_ptr<arrow::Table>& table,
87 R_xlen_t offset) {
88 arrow::r::validate_slice_offset(offset, table->num_rows());
89 return table->Slice(offset);
90}
91
92// [[arrow::export]]
93std::shared_ptr<arrow::Table> Table__Slice2(const std::shared_ptr<arrow::Table>& table,

Callers 1

_arrow_Table__Slice1Function · 0.85

Calls 2

num_rowsMethod · 0.45
SliceMethod · 0.45

Tested by

no test coverage detected