(text)
return line.replace(SDC_USER_GUIDE_PANDAS_STR, '').strip()
Extracts Pandas API from ``text``.

    This function is used in conjunction with :func:`split_title`, which returns the tuple (title, text).
    The ``title`` must contain valid Intel SDC header. The ``text`` is expected to be in the form
    ``Pandas API: *fully qualified Pandas name*``

    :param text:
    :return: Pandas API name as a string
Extracts Pandas API from ``text``.
Extracts Pandas API from text .
def extract_pandas_name_from(text):
    """
    Extracts Pandas API from ``text``.

    This function is used in conjunction with :func:`split_title`, which returns the tuple (title, text).
    The ``title`` must contain valid Intel SDC header. The ``text`` is expected to be in the form
    ``Pandas API: *fully qualified Pandas name*``

    :param text:
    :return: Pandas API name as a string
    """
    line = text.strip().split('\n', 1)[0]  # Pandas API is in the first line. Ignore whitespaces
    return line.replace(SDC_USER_GUIDE_PANDAS_STR, '').strip()
def extract_pandas_name_from ( text ) : line = text . strip ( ) . split ( '\n' , 1 ) [ 0 ] # Pandas API is in the first line. Ignore whitespaces return line . replace ( SDC_USER_GUIDE_PANDAS_STR , '' ) . strip ( )