Options and settings#

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

Working with options#

describe_option (pat[, _print_desc])

打印一个或多个注册选项的描述。

reset_option (pat)

将一个或多个选项重置为默认值。

get_option (pat)

检索指定选项的值。

set_option (pat, value)

设置指定选项的值。

option_context (args)

上下文管理器,用于在 with 语句的上下文中临时设置选项。

Numeric formatting#

set_eng_float_format ([accuracy, use_eng_prefix])

Format float representation in DataFrame with SI notation.