``'mean'`` is the only missing valid input. Checking that invalid input raises a ``ValueError`` can also be done.