def make_network_unweighted(n_df, wgt):
    """
    Make the network unweighted, by setting the weights on all the edges to the
    same value (1).

    Parameters:
        n_df (list): the data
        wgt (int): the weight column

    Returns:
        list: the modified data
    """
    return [n[:wgt] + [1] + n[wgt+1:] for n in n_df]