temporian.config #
Configuration options.
This module contains configuration options for Temporian. These options can be set by setting them at runtime, or by setting the corresponding environment variables.
For example, to configure the maximum number of indexes to show when displaying an EventSet to 5, you can either:
- Run
temporian.config.print_max_indexes = 5
- Set the
TEMPORIAN_PRINT_MAX_INDEXES
environment variable to 5, for example by runningexport TEMPORIAN_PRINT_MAX_INDEXES=5
in a terminal before running your Temporian code.
debug_mode
module-attribute
#
debug_mode = bool(
os.environ.get("TEMPORIAN_DEBUG_MODE", False)
)
Whether to run Temporian in debugging mode. This will enable additional checks and logging, which may slow down execution.
display_disable_color
module-attribute
#
display_disable_color = bool(
os.environ.get("TEMPORIAN_DISPLAY_DISABLE_COLOR", False)
)
Whether to disable color when displaying an EventSet in a notebook.
display_max_chars
module-attribute
#
display_max_chars = int(
os.environ.get("TEMPORIAN_MAX_DISPLAY_CHARS", 32)
)
Maximum number of characters to show per cell when displaying an EventSet in a notebook.
display_max_events
module-attribute
#
display_max_events = int(
os.environ.get("TEMPORIAN_MAX_DISPLAY_EVENTS", 7)
)
Maximum number of events to show per index value when displaying an EventSet in a notebook.
display_max_feature_dtypes
module-attribute
#
display_max_feature_dtypes = int(
os.environ.get(
"TEMPORIAN_MAX_DISPLAY_FEATURE_DTYPES", 100
)
)
Maximum number of (feature name, feature dtype) pairs to show in the summary section when displaying an EventSet in a notebook.
display_max_features
module-attribute
#
display_max_features = int(
os.environ.get("TEMPORIAN_MAX_DISPLAY_FEATURES", 16)
)
Maximum number of features to show when displaying an EventSet in a notebook.
display_max_index_dtypes
module-attribute
#
display_max_index_dtypes = int(
os.environ.get(
"TEMPORIAN_MAX_DISPLAY_INDEX_DTYPES", 100
)
)
Maximum number of (index name, index dtype) pairs to show in the summary section when displaying an EventSet in a notebook.
display_max_indexes
module-attribute
#
display_max_indexes = int(
os.environ.get("TEMPORIAN_MAX_DISPLAY_INDEXES", 4)
)
Maximum number of index values to show when displaying an EventSet in a notebook.
print_max_events
module-attribute
#
print_max_events = int(
os.environ.get("TEMPORIAN_PRINT_MAX_EVENTS", 10)
)
Maximum number of events to show when printing an EventSet.
print_max_features
module-attribute
#
print_max_features = int(
os.environ.get("TEMPORIAN_PRINT_MAX_FEATURES", 10)
)
Maximum number of features to show when printing an EventSet.
print_max_indexes
module-attribute
#
print_max_indexes = int(
os.environ.get("TEMPORIAN_PRINT_MAX_INDEXES", 4)
)
Maximum number of index values to show when printing an EventSet.
print_precision
module-attribute
#
print_precision = int(
os.environ.get("TEMPORIAN_PRINT_PRECISION", 4)
)
Number of decimal places to show when printing a float value.