What does ones_like() function do?
Answers
Answered by
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
Geography,
6 months ago
Social Sciences,
6 months ago
Social Sciences,
6 months ago
Hindi,
1 year ago
Biology,
1 year ago