dataframify¶
-
mastml.legos.feature_normalizers.
dataframify
(transform)[source]¶ Method which is a decorator transforms output of scikit-learn feature normalizers from array to dataframe. Enables preservation of column names.
Args:
transform: (function), a scikit-learn feature selector that has a transform methodReturns:
new_transform: (function), an amended version of the transform method that returns a dataframe