(doc)
return trimmed_sections
Removes Intel SDC Developer Guide related sections from the docstring.

    It is assumed that Developer Guide docstring follows the User Guide related sections of the docstring.
    Everything after section the titled *Intel Scalable Dataframe Compiler Developer Guide* is cut

    :param doc: Docstring that includes User Guide and the following Developer Guide sections
    :return: Docstring with the cut Developer Guide sections
Removes Intel SDC Developer Guide related sections from the docstring.
Removes Intel SDC Developer Guide related sections from the docstring .
def cut_sdc_dev_guide(doc):
    """
    Removes Intel SDC Developer Guide related sections from the docstring.

    It is assumed that Developer Guide docstring follows the User Guide related sections of the docstring.
    Everything after section the titled *Intel Scalable Dataframe Compiler Developer Guide* is cut

    :param doc: Docstring that includes User Guide and the following Developer Guide sections
    :return: Docstring with the cut Developer Guide sections
    """
    sections = split_in_sections(doc)    # tuple (title, text)
    trimmed_sections = []

    while len(sections) > 0:
        if is_sdc_dev_guide_header(sections[0]):
            break
        trimmed_sections.append(sections[0])
        sections.pop(0)

    return trimmed_sections
def cut_sdc_dev_guide ( doc ) : sections = split_in_sections ( doc ) # tuple (title, text) trimmed_sections = [ ] while len ( sections ) > 0 : if is_sdc_dev_guide_header ( sections [ 0 ] ) : break trimmed_sections . append ( sections [ 0 ] ) sections . pop ( 0 ) return trimmed_sections