| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.parquet.FileMetaData.html | [Back] [Original] |
Section Navigation
Bases: _Weakrefable
Parquet metadata for a single file.
Methods
|
|
|
Append row groups from other FileMetaData object. |
|
Return whether the two file metadata objects are equal. |
|
Get metadata for row group at index i. |
|
Set ColumnChunk file paths to the given value. |
|
Get dictionary representation of the file metadata. |
|
Write the metadata to a metadata-only Parquet file. |
Attributes
String describing source of the parquet file (str). |
|
Parquet format version used in file (str, such as '1.0', '2.4'). |
|
Additional metadata as key value pairs (dict[bytes, bytes]). |
|
Number of columns in file (int). |
|
Number of row groups in file (int). |
|
Total number of rows in file (int). |
|
Schema of the file ( |
|
Size of the original thrift encoded metadata footer (int). |
Append row groups from other FileMetaData object.
FileMetaDataOther metadata to append row groups from.
String describing source of the parquet file (str).
This typically includes library name and version number. For example, Arrow 7.0s writer returns parquet-cpp-arrow version 7.0.0.
Return whether the two file metadata objects are equal.
FileMetaDataMetadata to compare against.
Parquet format version used in file (str, such as 1.0, 2.4).
If version is missing or unparsable, will default to assuming 2.6.
Additional metadata as key value pairs (dict[bytes, bytes]).
Number of columns in file (int).
Number of row groups in file (int).
Total number of rows in file (int).
Get metadata for row group at index i.
intRow group index to get.
RowGroupMetaDataSchema of the file (ParquetSchema).
Size of the original thrift encoded metadata footer (int).
Set ColumnChunk file paths to the given value.
This method modifies the file_path field of each ColumnChunk
in the FileMetaData to be a particular value.
strThe file path to set on all ColumnChunks.
Get dictionary representation of the file metadata.
dictDictionary with a key for each attribute of this class.
Write the metadata to a metadata-only Parquet file.
Where to write the metadata. Should be a writable path on the local filesystem, or a writable file-like object.
FileMetaDataFileMetaData.__init__()FileMetaData.append_row_groups()FileMetaData.created_byFileMetaData.equals()FileMetaData.format_versionFileMetaData.metadataFileMetaData.num_columnsFileMetaData.num_row_groupsFileMetaData.num_rowsFileMetaData.row_group()FileMetaData.schemaFileMetaData.serialized_sizeFileMetaData.set_file_path()FileMetaData.to_dict()FileMetaData.write_metadata_file()
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |