utils#

utils#

utils contains helper functions used throughout the library.

Functions

find_package_root(package_name)

Finds the root directory of a Python package.

get_datasets_path()

Returns the path to the datasets directory.

get_fixtures_path()

Returns the path to the fixtures directory.

get_logger(name)

Returns a logger with the given name.

index_of_value(array, value)

Finds the index of a value in an array most similar to value passed.

lin_interp(df, val)

Linerarly interpolates between two points.

max_min(array)

Finds maximum and minimum of an array.