bigframes.pandas.read_orc#
- bigframes.pandas.read_orc(path: str | IO[bytes], *, engine: str = 'auto', write_engine: Literal['default', 'bigquery_inline', 'bigquery_load', 'bigquery_streaming', 'bigquery_write', '_deferred'] = 'default') DataFrame[source]#
Load an ORC file to a BigQuery DataFrames DataFrame.
- Parameters:
path (str or IO) – The path or buffer to the ORC file. Can be a local path or Google Cloud Storage URI.
engine (str, default "auto") – The engine used to read the file. Supported values: auto, bigquery, pyarrow.
write_engine (str, default "default") – The write engine used to persist the data to BigQuery if needed.
- Returns:
A new DataFrame representing the data from the ORC file.
- Return type: