Changing settings
There are three ways to change the settings listed in
available_settings
:
- through code
- through a custom configuration file
- through environment variables
Through code
Configuration example | |
---|---|
Some related settings are grouped together in configuration shorthands, making it easy to selectively enable or disable certain report sections or functionality:
samples
: control whether the dataset preview is shown.correlation
: control whether correlation computations are executed.missing_diagrams
: control whether missing value analysis is executed.duplicates
: control whether duplicate rows are previewed.interactions
: control whether interactions are computed.
Disable samples, correlations, missing diagrams and duplicates at once | |
---|---|
Through a custom configuration file
To control ydata-profiling
through a custom file, you can start with
one of the sample configuration files below:
- default configuration file (default)
- minimal configuration file (minimal computation, optimized for performance)
Change the configuration to your liking and point towards that configuration file when computing the report:
Custom configuration file | |
---|---|
Through environment variables
Any configuration setting can also be read from environment variables. For example:
Setting title for the report with parameters | |
---|---|
is equivalent to setting the title as an environment variable