misc_tools
Convenience functions that don’t directly deal with plotting or bootstrap computations are placed here.
get_varname
get_varname (obj)
print_greeting
print_greeting ()
unpack_and_add
unpack_and_add (l, c)
Convenience function to allow me to add to an existing list without altering that list.
merge_two_dicts
merge_two_dicts (x:dict, y:dict)
Given two dicts, merge them into a new dict as a shallow copy. Any overlapping keys in y
will override the values in x
.
Taken from here
Type | Details | |
---|---|---|
x | dict | |
y | dict | |
Returns | dict | A dictionary containing a union of all keys in both original dicts. |