pandas.describe_option(pat, _print_desc=False) = Prints the description for one or more registered options.
Call with not arguments to get a listing for all registered options.
Available options:
| Parameters: |
pat : str Regexp pattern. All matching keys will have their description displayed. _print_desc : bool, default True If True (default) the description(s) will be printed to stdout. Otherwise, the description(s) will be returned as a unicode string (for testing). |
|---|---|
| Returns: |
None by default, the description(s) as a unicode string if _print_desc is False |
The available options with its descriptions:
display.chop_threshold : float or None display.colheader_justify : ‘left’/’right’ display.date_dayfirst : boolean display.date_yearfirst : boolean display.encoding : str/unicode display.expand_frame_repr : boolean max_columns is still respected, but the output will wrap-around across multiple “pages” if its width exceeds display.width. [default: True] [currently: True]display.float_format : callable display.height : int display.max_rows instead.)display.large_repr : ‘truncate’/’info’ display.latex.escape : bool display.latex.repr : boolean display.line_width : int display.width instead.)display.max_categories : int Categorical or a Series of dtype “category”. [default: 8] [currently: 8]display.max_columns : int If max_cols is exceeded, switch to truncate view. Depending on large_repr, objects are either centrally truncated or printed as a summary view. ‘None’ value means unlimited.
In case python/IPython is running in a terminal and large_repr equals ‘truncate’ this can be set to 0 and pandas will auto-detect the width of the terminal and print a truncated object which fits the screen width. The IPython notebook, IPython qtconsole, or IDLE do not run in a terminal and hence it is not possible to do correct auto-detection. [default: 20] [currently: 20]
display.max_colwidth : int display.max_info_columns : int display.max_info_rows : int or None display.max_rows : int If max_rows is exceeded, switch to truncate view. Depending on large_repr, objects are either centrally truncated or printed as a summary view. ‘None’ value means unlimited.
In case python/IPython is running in a terminal and large_repr equals ‘truncate’ this can be set to 0 and pandas will auto-detect the height of the terminal and print a truncated object which fits the screen height. The IPython notebook, IPython qtconsole, or IDLE do not run in a terminal and hence it is not possible to do correct auto-detection. [default: 60] [currently: 15]
display.max_seq_items : int or None when pretty-printing a long sequence, no more then max_seq_items will be printed. If items are omitted, they will be denoted by the addition of ”...” to the resulting string.
If set to None, the number of items to be printed is unlimited. [default: 100] [currently: 100]
display.memory_usage : bool, string or None display.mpl_style : bool display.multi_sparse : boolean display.notebook_repr_html : boolean display.pprint_nest_depth : int display.precision : int display.show_dimensions : boolean or ‘truncate’ display.unicode.ambiguous_as_wide : boolean display.unicode.east_asian_width : boolean display.width : int io.excel.xls.writer : string io.excel.xlsm.writer : string io.excel.xlsx.writer : string io.hdf.default_format : format io.hdf.dropna_table : boolean mode.chained_assignment : string mode.sim_interactive : boolean mode.use_inf_as_null : boolean
© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–2011 AQR Capital Management, LLC
© 2008–2014 the pandas development team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.18.1/generated/pandas.describe_option.html