metasyn.util
Utility module for metasyn.
Functions
|
Get the registry dictionary from the package. |
|
Convert polars dtype to metasyn variable type. |
|
Set the global seeds for all random number generators. |
- metasyn.util.get_registry()
Get the registry dictionary from the package.
This registry contains information on plugins that are available for metasyn.
- Return type:
dict- Returns:
Dictionary containing the registry entries.
- metasyn.util.get_var_type(series)
Convert polars dtype to metasyn variable type.
- Parameters:
series (
Series) – Series to get the metasyn variable type for.- Returns:
The variable type that is found.
- Return type:
var_type
- metasyn.util.set_global_seeds(seed)
Set the global seeds for all random number generators.
- Parameters:
seed (
int) – The seed to use for the random number generators.