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

Function RecordBatch__RemoveColumn

r/src/recordbatch.cpp:124–128  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

122
123// [[arrow::export]]
124std::shared_ptr<arrow::RecordBatch> RecordBatch__RemoveColumn(
125 const std::shared_ptr<arrow::RecordBatch>& batch, int i) {
126 arrow::r::validate_index(i, batch->num_columns());
127 return ValueOrStop(batch->RemoveColumn(i));
128}
129
130// [[arrow::export]]
131std::string RecordBatch__column_name(const std::shared_ptr<arrow::RecordBatch>& batch,

Callers 1

Calls 3

ValueOrStopFunction · 0.85
num_columnsMethod · 0.45
RemoveColumnMethod · 0.45

Tested by

no test coverage detected