def remove_pipe_from_pipes_selection(pipes_selection, idx):
    """
    Remove the pipe of index *idx* from the dataframe of pipes of equal load ;
    in-place.

    Parameters
    ----------
    pipes_selection: DataFrame
        Dataframe of the selected pipes (same load as the first pipe).
    idx: int
        Index of the pipe to remove.
    """
    pipes_selection.drop(index=[idx], inplace=True)
    pipes_selection.reset_index(inplace=True, drop=True)
