Data.insert_rows¶
- Data.insert_rows(row, new_data)¶
Insert new_data into the data array at position row. This is a wrapper for numpy.insert.
- Parameters:
datafile (Data) – Data object to work with if not being used as a bound method.
row (int) – Data row to insert into
new_data (numpy array) – An array with an equal number of columns as the main data array containing the new row(s) of data to insert
- Returns:
datafile – A copy of the modified
DataFileobject