: bool This specifies if the to_latex method of a Dataframe uses escapes special characters. (default: True) display.large_repr : 'truncate'/'info' For DataFrames exceeding max_rows/max_cols, the repr (and HTML repr) can show a truncated table (the default from 0.13), or switch to the view from df.info() (the behaviour in earlier versions of pandas). (default: False) _mathjax : boolean When True, Jupyter notebook will process table contents using MathJax, rendering mathematical expressions enclosed by the dollar symbol. _schema : boolean Whether to publish a Table Schema representation for frontends that support it. : int A ``border=value`` attribute is inserted in the ```` tag for the DataFrame HTML repr. This is used in some places like SeriesFormatter. display.float_format : callable The callable should accept a floating point number and return a string with the desired format of the number. display.expand_frame_repr : boolean Whether to print out the full DataFrame repr for wide DataFrames across multiple lines, `max_columns` is still respected, but the output will wrap-around across multiple "pages" if its width exceeds `display.width`. Specifies the encoding to be used for strings returned by to_string, these are generally strings meant to be displayed on the console. display.date_dayfirst : boolean When True, prints and parses dates with the day first, eg display.date_yearfirst : boolean When True, prints and parses dates with the year first, eg 0 display.encoding : str/unicode Defaults to the detected encoding of the console. lheader_justify : 'left'/'right' Controls the justification of column headers. describe_option () e_bottleneck : bool Use the bottleneck library to accelerate if it is installed, the default is True Valid values: False,True e_numba : bool Use the numba engine option for select operations if it is installed, the default is False Valid values: False,True e_numexpr : bool Use the numexpr library to accelerate computation if it is installed, the default is True Valid values: False,True display.chop_threshold : float or None if set to a float value, all float values smaller than the given threshold will be displayed as exactly 0 by repr and friends. _func_ ( * args, ** kwds ) File ~/work/pandas/pandas/pandas/_config/config.py:135, in _get_option (pat, silent) 134 def _get_option ( pat : str, silent : bool = False ) -> Any : -> 135 key = _get_single_key ( pat, silent ) 137 # walk the nested dict 138 root, k = _get_root ( key ) File ~/work/pandas/pandas/pandas/_config/config.py:123, in _get_single_key (pat, silent) 121 raise OptionError ( f "No such keys(s): " ) 122 if len ( keys ) > 1 : -> 123 raise OptionError ( "Pattern matched multiple keys" ) 124 key = keys 126 if not silent : OptionError: 'Pattern matched multiple keys' get_option ( "max" ) File ~/work/pandas/pandas/pandas/_config/config.py:263, in CallableDynamicDoc._call_ (self, *args, **kwds) 262 def _call_ ( self, * args, ** kwds ) -> T : -> 263 return self. get_option ( "max" ) - OptionError Traceback (most recent call last)Ĭell In, line 1 -> 1 pd.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |