Home > Software engineering >  Numpy concatenate() takes from 1 to 3 positional arguments
Numpy concatenate() takes from 1 to 3 positional arguments

Time:02-10

I'm trying to combine four 2d arrays into one 3d matrix. I've tried np.concatenate and np.stack. These give the respective errors:

concatenate() takes from 1 to 3 positional arguments but 4 were given

and

_stack_dispatcher() takes from 1 to 3 positional arguments but 4 were given

CodePudding user response:

  •  Tags:  
  • Related