Jul-26-2019, 01:26 PM
(This post was last modified: Jul-26-2019, 01:32 PM by paul18fr. Edited 2 times in total.)

Dear All

I tried to copy a part of an array/matrix using numpy.copy; my first reaction was to write:

Thanks for your advice(s)

Paul

I tried to copy a part of an array/matrix using numpy.copy; my first reaction was to write:

n = 10; A = np.random.random( (n,5) ); B = np.copy(A[:, 0:3]);Nevertheless it does not work (single vector is obtained): how to proceed?

Thanks for your advice(s)

Paul