watex.utils.funcutils.get_config_fname_from_varname#
- watex.utils.funcutils.get_config_fname_from_varname(data, config_fname=None, config='.yml')[source]#
use the variable name given to data as the config file name.
- Parameters
data β Given data to retrieve the variable name
config_fname β Configurate variable filename. If
None, use the name of the given varibale dataconfig β Type of file for configuration. Can be
json,ymlorcsvfile. default isyml.
- Returns
str, the configuration data.