nmrglue.fileio.table.insert_row

nmrglue.fileio.table.insert_row(rec, N, row)[source]

Insert a row into a records array before row number N.

Parameters :

rec : recarray

Records array.

N : int

Row number to insert new row before.

row : array_like

Array or similar object which will be converted into a new row.

Returns :

new_rec : recarray

New records array with inserted row.

Previous topic

nmrglue.fileio.table.write

Next topic

nmrglue.fileio.table.append_row

This Page