def train_clustering_model(model_object, training_predictor_table):
    """Trains any clustering model.

    :param model_object: Untrained model created by `setup_k_means`,
        `setup_ahc`, or the like.
    :param training_predictor_table: See doc for `read_tabular_file`.
    :return: model_object: Trained version of input.
    """

    model_object.fit(
        X=training_predictor_table.to_numpy()
    )

    return model_object