7. Miscellaneous

Miscellaneous functions that simplify the code.

misc.derive_separator(file_path)

Derive separator of the csv file.

misc.grep_pattern(strings, pattern)

Extract list of strings that contain the pattern.

misc.random_colors([n_cols])

Produce a list of random colors.

misc.rgb_to_hex(rgb_col)

Convert RGB color to hexadecimal code.

misc.display_progress(k, n[, freq])

Display progress of an iterated process, e.g. a loop.