pyarrow.parquet.RowGroupMetaData¶
- class pyarrow.parquet.RowGroupMetaData¶
Bases:
_Weakrefable
Metadata for a single row group.
- __init__(*args, **kwargs)¶
Methods
__init__
(*args, **kwargs)column
(self, int i)Get column metadata at given index.
equals
(self, RowGroupMetaData other)Return whether the two row group metadata objects are equal.
to_dict
(self)Get dictionary represenation of the row group metadata.
Attributes
Number of columns in this row group (int).
Number of rows in this row group (int).
Total byte size of all the uncompressed column data in this row group (int).
- column(self, int i)¶
Get column metadata at given index.
- Parameters:
- i
int
Index of column to get metadata for.
- i
- Returns:
ColumnChunkMetaData
Metadata for column within this chunk.
- equals(self, RowGroupMetaData other)¶
Return whether the two row group metadata objects are equal.
- Parameters:
- other
RowGroupMetaData
Metadata to compare against.
- other
- Returns:
- are_equalbool
- num_columns¶
Number of columns in this row group (int).
- num_rows¶
Number of rows in this row group (int).
- to_dict(self)¶
Get dictionary represenation of the row group metadata.
- Returns:
dict
Dictionary with a key for each attribute of this class.
- total_byte_size¶
Total byte size of all the uncompressed column data in this row group (int).