Options and settings — pandas 3.0.0.dev0+2103.g41968a550a documentation (original) (raw)

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

Working with options#

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

Numeric formatting#

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