from sklearn.base import BaseEstimator, TransformerMixin
from sklearn.utils import check_array
from sklearn.preprocessing import LabelEncoder
from scipy import sparse
from feature_engine import CategoricalEncoder as ce
class CategoricalEncoder(BaseEstimator, TransformerMixin):
File “”, line 8
class CategoricalEncoder(BaseEstimator, TransformerMixin):
^
SyntaxError: unexpected EOF while parsing
I did not know.Why this problem is happening??
Please tell me how can i fix it??