def title_case(string):
    """
    TitleCases a given string.

    Parameters
    ----------
    string : underscore separated string
    """
    return "".join(x.capitalize() for x in string.split("_"))
TitleCases a given string.

Parameters
----------
string : underscore separated string
s3fs/utils.py