numjs icon indicating copy to clipboard operation
numjs copied to clipboard

Array creation type issue

Open fullmetalfelix opened this issue 2 years ago • 0 comments

The instructions indicate that nj.array(new Uint8Array([1, 2, 3])); and nj.array([1, 2, 3], "uint8"); are the same, but in fact the first one returns an object with dtype="array", while the second one returns an object with dtype="uint8".

fullmetalfelix avatar Apr 24 '23 13:04 fullmetalfelix