def METHOD_NAME(self, axis):
    """Get the index of an axis
    Parameters
    ----------
    axis : str
        The axis name, need to be [a-z,A-Z]
    Returns
    -------
    index : int
        The index of the axis, -1 if not found.
    """
    return _ffi_api.LayoutIndexOf(self, axis)  # type: ignore