FloatingPointErrorFloatingPointError
A floating point operation failed. Rarely seen unless fpectl is enabled.
TypeError: unhashable typeA mutable object was used where a hashable (immutable) object is required, such as a dictionary key or set element.
You tried to use a list, dict, set, or other mutable object as a dictionary key or set element. Only hashable (immutable) objects can be used as keys: strings, numbers, tuples (of hashable elements), frozensets.
Convert lists to tuples: tuple(my_list). Convert sets to frozensets: frozenset(my_set). For dicts, use a frozenset of items or convert to a hashable representation. Use immutable data structures as keys.
{[1, 2]: "value"} # TypeError: unhashable type: 'list'FloatingPointErrorA floating point operation failed. Rarely seen unless fpectl is enabled.
IndexErrorA sequence index is out of the valid range for the given sequence.
AttributeErrorAn object does not have the requested attribute or method.
ProcessLookupErrorThe specified process does not exist.
RecursionErrorThe maximum recursion depth was exceeded.
NotImplementedErrorA method that should be implemented by a subclass has not been implemented yet.