cf.register_option("float_format", None, float_format_doc, validator=is_one_of_factory([None, is_callable])) cf.register_option("column_space", 12, validator=is_int) cf.register_option("max_info_rows", 1690785, pc_max_info_rows_doc, validator=is_instance_factory((int, type(None)))) cf.register_option("max_rows", 60, pc_max_rows_doc, validator=is_instance_factory([type(None), int])) cf.register_option("max_categories", 8, pc_max_categories_doc, validator=is_int) cf.register_option("max_colwidth", 50, max_colwidth_doc, validator=is_int) cf.register_option("max_columns", 20, pc_max_cols_doc, validator=is_instance_factory([type(None), int])) cf.register_option("large_repr", "truncate", pc_large_repr_doc, validator=is_one_of_factory(["truncate", "info"])) cf.register_option("max_info_columns", 100, pc_max_info_cols_doc, validator=is_int) cf.register_option("colheader_justify", "right", colheader_justify_doc, validator=is_text) cf.register_option("notebook_repr_html", True, pc_nb_repr_h_doc, validator=is_bool) cf.register_option("date_dayfirst", False, pc_date_dayfirst_doc, validator=is_bool) cf.register_option("date_yearfirst", False, pc_date_yearfirst_doc, validator=is_bool) cf.register_option("pprint_nest_depth", 3, pc_pprint_nest_depth, validator=is_int) cf.register_option("multi_sparse", True, pc_multi_sparse_doc, validator=is_bool) cf.register_option("encoding", detect_console_encoding(), pc_encoding_doc, validator=is_text) cf.register_option("expand_frame_repr", True, pc_expand_repr_doc) cf.register_option( "show_dimensions", "truncate", pc_show_dimensions_doc, validator=is_one_of_factory([True, False, "truncate"]) ) cf.register_option("chop_threshold", None, pc_chop_threshold_doc) cf.register_option("max_seq_items", 100, pc_max_seq_items) cf.register_option( "mpl_style", None, pc_mpl_style_doc, validator=is_one_of_factory([None, False, "default"]), cb=mpl_style_cb ) cf.register_option("height", 60, pc_height_doc, validator=is_instance_factory([type(None), int])) cf.register_option("width", 80, pc_width_doc, validator=is_instance_factory([type(None), int])) # redirected to width, make defval identical cf.register_option("line_width", get_default_val("display.width"), pc_line_width_doc) cf.register_option( "memory_usage", True, pc_memory_usage_doc, validator=is_one_of_factory([None, True, False, "deep"])
validator=is_one_of_factory(['truncate', 'info'])) cf.register_option('max_info_columns', 100, pc_max_info_cols_doc, validator=is_int) cf.register_option('colheader_justify', 'right', colheader_justify_doc, validator=is_text) cf.register_option('notebook_repr_html', True, pc_nb_repr_h_doc, validator=is_bool) cf.register_option('date_dayfirst', False, pc_date_dayfirst_doc, validator=is_bool) cf.register_option('date_yearfirst', False, pc_date_yearfirst_doc, validator=is_bool) cf.register_option('pprint_nest_depth', 3, pc_pprint_nest_depth, validator=is_int) cf.register_option('multi_sparse', True, pc_multi_sparse_doc, validator=is_bool) cf.register_option('encoding', detect_console_encoding(), pc_encoding_doc, validator=is_text) cf.register_option('expand_frame_repr', True, pc_expand_repr_doc) cf.register_option('show_dimensions', 'truncate', pc_show_dimensions_doc, validator=is_one_of_factory([True, False, 'truncate'])) cf.register_option('chop_threshold', None, pc_chop_threshold_doc) cf.register_option('max_seq_items', 100, pc_max_seq_items) cf.register_option('mpl_style', None, pc_mpl_style_doc, validator=is_one_of_factory([None, False, 'default']), cb=mpl_style_cb) cf.register_option('height', 60, pc_height_doc, validator=is_instance_factory([type(None), int])) cf.register_option('width', 80, pc_width_doc, validator=is_instance_factory([type(None), int])) # redirected to width, make defval identical cf.register_option('line_width', get_default_val('display.width'),
pc_date_dayfirst_doc, validator=is_bool) cf.register_option('date_yearfirst', False, pc_date_yearfirst_doc, validator=is_bool) cf.register_option('pprint_nest_depth', 3, pc_pprint_nest_depth, validator=is_int) cf.register_option('multi_sparse', True, pc_multi_sparse_doc, validator=is_bool) cf.register_option('encoding', detect_console_encoding(), pc_encoding_doc, validator=is_text) cf.register_option('expand_frame_repr', True, pc_expand_repr_doc) cf.register_option('show_dimensions', 'truncate', pc_show_dimensions_doc, validator=is_one_of_factory([True, False, 'truncate'])) cf.register_option('chop_threshold', None, pc_chop_threshold_doc) cf.register_option('max_seq_items', 100, pc_max_seq_items) cf.register_option('mpl_style', None, pc_mpl_style_doc, validator=is_one_of_factory([None, False, 'default']), cb=mpl_style_cb) cf.register_option('height',