def METHOD_NAME(self, X):
    if len(self.classifiers_list) == 1:
        return self.classifiers_list[0].METHOD_NAME(X)
    else:
        # Take a voting of the classifiers
        predictions_list = [
            classifier.METHOD_NAME(X) for classifier in self.classifiers_list
        ]
        df = pd.DataFrame(predictions_list).transpose()
        predictions = df.mode(axis=1)
        if (
            predictions.shape[1] > 1
        ):  # When there are multiple modes, pick the first one
            predictions = predictions.iloc[:, 0]
        predictions = predictions.squeeze()  # converts a dataframe to series.
        return predictions