def makeFuncMappable(func, *args, **kwargs):
    """Generally, `map` doesn't take scalar arguments (Pandas `map` is more
    restrictive, but even Python's `map` is restricted to all arguments having
    same length as the first argument -- which is the iterable being mapped).

    This function returns a version of the passed `func` that only takes one
    argument, running the original `func` with that argument and all other args
    and kwargs specified to makeFuncMappable.
    """
    def mappableFunc(arg0):
        return func(arg0, *args, **kwargs)
    return mappableFunc