pyarrow.dataset.TaggedRecordBatch#
- class pyarrow.dataset.TaggedRecordBatch(record_batch, fragment)#
Bases:
importlib._bootstrap.TaggedRecordBatch
A combination of a record batch and the fragment it came from.
- Parameters
- record_batch
RecordBatch
The record batch.
- fragment
Fragment
Fragment of the record batch.
- 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
Alias for field number 1
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