def str2valid_python_name(s):
    '\n    Translate a given string into a valid python variable name.\n\n    Parameters\n    ----------\n    s : str\n        The string to be translated.\n\n    Returns\n    -------\n    str\n        The valid python name string.\n    '
    return s.translate(_transtab)
Translate a given string into a valid python variable name.

Parameters
----------
s : str
    The string to be translated.

Returns
-------
str
    The valid python name string.
def str2valid_python_name(s):
    '\n    Translate a given string into a valid python variable name.\n\n    Parameters\n    ----------\n    s : str\n        The string to be translated.\n\n    Returns\n    -------\n    str\n        The valid python name string.\n    '
    return s.translate(_transtab)