You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling transform on a DataFrameMapper that hasn't been fitted yet, the TypeError below is raised:
TypeError: 'NoneType' object is not iterable
It would be nice to have a more meaningful error since this is hard to debug. Ideally, we would check whether we are able to call transform on all underlying transformers and only raise of one of these is not successful. This may be difficult to implement since there is generic way that I know of to determine whether a Scikit-learn transformer is fitted.
Anyways, I would be happy to submit a PR for a more meaningful error message!