How to Solve NameError: name 'enable_iterative_imputer' is not defined -- sklearn

Solution: Import the 'enable_iterative_imputer' module

To Solve the error, add the following line to the top of your code.

from sklearn.experimental import enable_iterative_imputer

 

For more information:
Python sklearn enable_iterative_imputer