fix_types¶
-
mastml.conf_parser.
fix_types
(maybe_list)[source]¶ Method that returns true datatype of values passed as string or list of strings, parsed from configuration file
- Args:
- maybe_list: (list, str), a list of strings or just a string whose datatype should be e.g. int or list of float
- Returns:
- maybe_list: (list, bool, int, float): a list of items or other data type converted from string to correct data type