def delete_column(rec, N):
    # remove the column from the list of columns.
    dtd = rec.dtype.descr
    dtd.pop(N)

    # create the new records array and fill it in
    new_rec = np.empty(rec.shape, dtd)
    for n in new_rec.dtype.names:
        new_rec[n] = rec[n]
    return np.atleast_1d(np.rec.array(new_rec))
Create a Header from a sequence of pairs as returned by decode_header()
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/table.py/delete_column--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/email/header.py/make_header