pandas.get_option(pat) = Retrieves the value of the specified option.
Available options:
| Parameters: |
pat : str Regexp which should match a single option. Note: partial matches are supported for convenience, but unless you use the full option name (e.g. x.y.z.option_name), your code may break in future versions if new options with similar names are introduced. |
|---|---|
| Returns: |
result : the value of the option |
| Raises: |
OptionError : if no such option exists |
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.get_option.html