python_utils.npy_append_cols#

Back to Module page

Summary#

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

Signature#

def npy_append_cols(infile_npy, add_cols, outfile_npy = None)
Input variables#

Name

Type

Default

Description

infile_npy

add_cols

outfile_npy

None

Output variables#

Return annotation

Docstring type

Description

None

Docstring#

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