Using the Numpy matrix.ptp ()
method, we can get a peektopeek value that is (maximum minimum) along the axis from this matrix.
Syntax:
matrix.ptp(axis)
Return: Return peektopeek value from given matrix
Example # 1:
In this example, we see that we can get the peektopeek value from a given matrix using the matrix.ptp ()
method.

Exit:
[[63] [9]]
Example # 2:

Exit:
[[6 6 15]]
This is the first book on synthetic data for deep learning, and its extensive coverage could make this book the standard benchmark for synthetic data for years to come. The book can also serve as an i...
28/08/2021
Cloud computing provides the capability to use computing and storage resources on a metered basis and reduce the investments in an organization’s computing infrastructure. The spawning and deletion ...
10/07/2020
As information protection continues to be a growing concern for businesses today, IT security certifications have become highly desirable, even as the number of certifications has grown. Now you can s...
12/08/2021
This book project was first presented to me during my first week in my current role of managing the data mining development at SAS. Writ ing a book has always been a bucket‐list item, and I was ver...
10/07/2020