bigframes._config.ComputeOptions.maximum_result_rows#
- ComputeOptions.maximum_result_rows: int | None = None#
Limits the number of rows in an execution result.
When converting a BigQuery DataFrames object to a pandas DataFrame or Series (e.g., using
.to_pandas(),.peek(),.__repr__(), direct iteration), the data is downloaded from BigQuery to the client machine. This option restricts the number of rows that can be downloaded. If the number of rows to be downloaded exceeds this limit, abigframes.exceptions.MaximumResultRowsExceededexception is raised.- Returns:
Number of rows, if set.
- Return type:
int | None