pd.set_option()函数详解

pandas.set_option 官方文档

pandas.set_option(pat, value) = <pandas.core.config.CallableDynamicDoc object>

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.
value :new value of option.

Available options:

  • compute.[use_bottleneck, use_numexpr]
  • display.[chop_threshold, colheader_justify, column_space, date_dayfirst, date_yearfirst, encoding, expand_frame_repr, float_format]
  • display.html.[border, table_schema, use_mathjax]
  • display.[large_repr]
  • display.latex.[escape, longtable, multicolumn, multicolumn_format, multirow, repr]
  • display.[max_categories, max_columns, max_colwidth, max_info_columns, max_info_rows, max_rows, max_seq_items, memory_usage, multi_sparse, notebook_repr_html, pprint_nest_depth, precision, show_dimensions]
  • display.unicode.[ambiguous_as_wide, east_asian_width]
  • display.[width]
  • html.[border]
  • io.excel.xls.[writer]
  • io.excel.xlsm.[writer]
  • io.excel.xlsx.[writer]
  • io.hdf.[default_format, dropna_table]
  • io.parquet.[engine]
  • mode.[chained_assignment, sim_interactive, use_inf_as_na, use_inf_as_null]
  • plotting.matplotlib.[register_converters]

.

.

.

2019-01-17 12:25:19写于德州

猜你喜欢

转载自blog.csdn.net/The_Time_Runner/article/details/86522267