package
is a simple Python library that contains a single function for rescaling arrays.
Download the source code and use the package manager pip to install package
:
pip install .
import numpy as np
from package.rescale import rescale
# rescales over 0 to 1
rescale(np.linspace(0, 100, 5))
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
TBD