Computer Science, asked by Yuvian4052, 1 year ago

What does ones_like() function do?

Answers

Answered by Zisha7
0

Answer:

numpy.ones_like. Return an array of ones with the same shape and type as a given array. The shape and data-type of a define these same attributes of the returned array. ... If True, then the newly created array will use the sub-class type of 'a', otherwise it will be a base-class array.

Similar questions