means that we'd have to add a values = None to the class body of IndexOpsMixin which is a semantic change. The mixin style also doesn't play nicely with is_unique in the same class. There we have: self.nunique() == len(self) but we don't know yet at this point that self is...
import pandas as pd Importing the dataset train_dataset = pd.read_csv('train.csv') test_dataset = pd.read_csv('test.csv') X = train_dataset.iloc[:, 1:94].values y = train_dataset.iloc[:, 94].values Encoding categorical data ...