Open danwellisch1 opened 6 years ago
Code to breakout data transformers into individual modules. Nosetests passed.
But in running pylint, there was a coding error uncovered.
E: 33,37: Module 'pandas.core.common' has no 'is_categorical_dtype' member (no-member)
Bad code commented out. Changed code was added. Nosetests don't cover this line of code. Testing of this change is recommended.
or pd.core.categorical.is_categorical_dtype(X[c])
You can pick up my https://github.com/HealthCatalyst/healthcareai-py/pull/476 to fix the issues found here.
Code to breakout data transformers into individual modules. Nosetests passed.
But in running pylint, there was a coding error uncovered.
E: 33,37: Module 'pandas.core.common' has no 'is_categorical_dtype' member (no-member)
Bad code commented out. Changed code was added. Nosetests don't cover this line of code. Testing of this change is recommended.
Code is not correct: or pd.core.common.is_categorical_dtype(X[c])
or pd.core.categorical.is_categorical_dtype(X[c])