python_utils.npy_append_rows#

Back to Module page

Summary#

append rows to array from .npy file at path infile if outfile_new given, write the result there; otherwise rewrite infile_npy with appended rows

Signature#

def npy_append_rows(infile_npy, add_rows, outfile_npy = None)
Input variables#

Name

Type

Default

Description

infile_npy

add_rows

outfile_npy

None

Output variables#

Return annotation

Docstring type

Description

None

Docstring#

append rows to array from .npy file at path infile
  if outfile_new given, write the result there;
  otherwise rewrite infile_npy with appended rows