In line no 61 from the _utils/data_preputil.py file shown above, the function parameter name is _noraldtype. Whereas inside the function, this parameter is referenced with a different name _normaldtype. This appears to be a typo error and is likely to give issues while trying to run this function.
Suggestion:
May be the names should be consistent in function parameter and while referencing.
In line no 61 from the _utils/data_preputil.py file shown above, the function parameter name is _noraldtype. Whereas inside the function, this parameter is referenced with a different name _normaldtype. This appears to be a typo error and is likely to give issues while trying to run this function.
Suggestion: May be the names should be consistent in function parameter and while referencing.