How to Solve NameError: name 'PowerTransformer' is not defined -- sklearn
Solution: Import the 'PowerTransformer' module
To Solve the error, add the following line to the top of your code.
from sklearn.preprocessing import PowerTransformer
For more information:
Python sklearn PowerTransformer