pyarrow.dataset.TaggedRecordBatch#

class pyarrow.dataset.TaggedRecordBatch(record_batch, fragment)#

Bases: TaggedRecordBatch

A combination of a record batch and the fragment it came from.

Parameters:
record_batchRecordBatch

The record batch.

fragmentFragment

Fragment of the record batch.

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

fragment

Alias for field number 1

record_batch

Alias for field number 0

count(value, /)#

Return number of occurrences of value.

fragment#

Alias for field number 1

index(value, start=0, stop=sys.maxsize, /)#

Return first index of value.

Raises ValueError if the value is not present.

record_batch#

Alias for field number 0