'Returns the imputation method for column by its index.'

def get_method_for_column(self, column_index):

    if (not isinstance(column_index, int)):
        column_index = column_index.row()
    return self.variable_methods.get(column_index, self.methods[self.DEFAULT])
