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
recrecarray

Records array.

Nint

Row number to insert new row before.

rowarray_like

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

Returns
new_recrecarray

New records array with inserted row.