pandas.describe_option#

pandas.describe_option(pat='', _print_desc=True)[source]#

Print the description for one or more registered options.

Call with no arguments to get a listing for all registered options.

Parameters:
patstr, default “”

String or string regexp pattern. Empty string will return all options. For regexp strings, all matching keys will have their description displayed.

_print_descbool, default True

If True (default) the description(s) will be printed to stdout. Otherwise, the description(s) will be returned as a string (for testing).

Returns:
None

If _print_desc=True.

str

If the description(s) as a string if _print_desc=False.

Notes

For all available options, please view the User Guide.

Examples

>>> pd.describe_option("display.max_columns")  
display.max_columns : int
    If max_cols is exceeded, switch to truncate view...