Options and settings — pandas 2.2.3 documentation (original) (raw)

API for configuring global behavior. See the User Guide for more.

Working with options#

describe_option(pat[, _print_desc]) Prints the description for one or more registered options.
reset_option(pat) Reset one or more options to their default value.
get_option(pat) Retrieves the value of the specified option.
set_option(pat, value) Sets the value of the specified option.
option_context(*args) Context manager to temporarily set options in the with statement context.

Numeric formatting#

set_eng_float_format([accuracy, use_eng_prefix]) Format float representation in DataFrame with SI notation.