Class DisplayOptions (0.13.0)

DisplayOptions(
 max_columns: int = 20,
 max_rows: int = 25,
 progress_bar: typing.Optional[str] = "auto",
 repr_mode: typing.Literal["head", "deferred"] = "head",
)

Encapsulates configuration for displaying objects.

Attributes

Name Description
max_columns int, default 20
If max_columns is exceeded, switch to truncate view.
max_rows int, default 25
If max_rows is exceeded, switch to truncate view.
progress_bar Optional(str), default "auto"
Determines if progress bars are shown during job runs. Valid values are auto, notebook, and terminal. Set to None to remove progress bars.
repr_mode Literal[head, deferred]
head: Execute, download, and display results (limited to head) from dataframe and series objects during repr. deferred: Prevent executions from repr statements in dataframe and series objects. Instead estimated bytes processed will be shown. Dataframe and Series objects can still be computed with methods that explicitly execute and download results.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月27日 UTC.