def METHOD_NAME():
    dataset = foz.load_zoo_dataset("quickstart").clone()
    with fo.ProgressBar() as pb:
        for sample in pb(dataset):
            sample["animal"] = fo.Classification(label=random.choice(_ANIMALS))
            sample.save()
    # Test simple fields
    path = "animal.label"
    path_upper = path + "_upper"
    path_check = path + "_check"
    values = dataset.values(path)
    print(dataset.count_values(path))
    values_upper = _to_upper(values)
    dataset.set_values(path_upper, values_upper)
    print(dataset.count_values(path_upper))
    view = dataset.set_field(
        path_check, F("label").upper() == F("label_upper")
    )
    print(view.count_values(path_check))
    # Test array fields
    path = "predictions.detections.label"
    path_upper = path + "_upper"
    path_check = path + "_check"
    values = dataset.values(path)
    print(dataset.count_values(path))
    values_upper = _to_upper(values)
    dataset.set_values(path_upper, values_upper)
    print(dataset.count_values(path_upper))
    view = dataset.set_field(
        path_check, F("label").upper() == F("label_upper")
    )
    print(view.count_values(path_check))