Conf#

class astropy.table.Conf[source]#

Bases: ConfigNamespace

Configuration parameters for astropy.table.

Attributes Summary

auto_colname

The template that determines the name of a column if it cannot be determined.

default_notebook_table_class

The table class to be used in Jupyter notebooks when displaying tables (and not overridden).

format_size_threshold

Maximum total size (product of all dimensions except the first) for displaying full multidimensional column elements.

replace_inplace

Always use in-place update of a table column when using setitem, e.g. t['a'] = value.

replace_warnings

List of conditions for issuing a warning when replacing a table column using setitem, e.g. t['a'] = value.

Attributes Documentation

auto_colname#

The template that determines the name of a column if it cannot be determined. Uses new-style (format method) string formatting.

default_notebook_table_class#

The table class to be used in Jupyter notebooks when displaying tables (and not overridden). See <https://getbootstrap.com/css/#tables for a list of useful bootstrap classes.

format_size_threshold#

Maximum total size (product of all dimensions except the first) for displaying full multidimensional column elements. If the size exceeds this threshold, only the first and last elements are shown with ‘..’. Otherwise, the full element is displayed. Default is 1 which shows only first and last (e.g., ‘1 .. 5’). Set to a large value like sys.maxsize for no limit.

replace_inplace#

Always use in-place update of a table column when using setitem, e.g. t[‘a’] = value. This overrides the default behavior of replacing the column entirely with the new value when possible. This configuration option will be deprecated and then removed in subsequent major releases.

replace_warnings#

List of conditions for issuing a warning when replacing a table column using setitem, e.g. t[‘a’] = value. Allowed options are ‘always’, ‘slice’, ‘refcount’, ‘attributes’.