connect.utils.common

Functions

check_subset

Check whether one dictionary, list or set is a subset of another

dict_hash

MD5 hash of a dictionary.

flatten_list

get_project_root

rtype

Path

humanize_label

is_categorical

Identifies whether a series is categorical or not

json_dumps

Custom json dumps with encoder

remove_suffix

to_array

Converts list-like object to array :param lst: The list-like to be converted :type lst: (List, pandas.Series, numpy.ndarray)

update_dictionary

Recursively updates a dictionary

wrap_list

Ensures object is an iterable

Classes

CredoEncoder

Special json encoder for numpy types

SupressSettingWithCopyWarning

Exceptions