NumPy | Python Methods and Functions

* *

Using the ` `

method, we can get the ** Numpy matrix.min () ** ** minimum ** value from a given matrix.

Syntax:`matrix.min()`

Return:Return minimum value from a given matrix

** Example # 1: **

In this example, we see that we can get the minimum value from a given matrix using the ` matrix method .min () `

.

` ` |

** Exit :**

1

** Example # 2: **

` `

` ` ` # import important module in python `

` import `

` numpy as np `

` # make a matrix with NumPy `

` gfg `

` = `

` np.matrix (`

` `[1, 2, 3; 4, 5, 6; 7, 8, -9] ``

`) `

` `

` # using the matrix.min () method `

` geeks `

` = `

` gfg. `

` min `

` () `

` print `

` (geeks) `

` `

** Exit:**

-9

Topics on Big Data are growing rapidly. From the first 3 V’s that originally characterized Big Data, the industry now has identified 42 V’s associated with Big Data. The list of how we characteriz...

10/07/2020

This book contains chapters authored by several leading experts in the field of cloud computing. The book is presented in a coordinated and integrated manner starting with the fundamentals and followe...

10/07/2020

Data is “unreasonably effective”. Nobel laureate Eugene Wigner referred to the unreasonable effectiveness of mathematics in the natural sciences. What is big data? Its sizes are in the order of te...

10/07/2020

Python Workout isn’t designed to teach you Python, although I hope and expect that you’ll learn quite a bit along the way. It is meant to help you improve your understand- ing of Python and how to...

23/09/2020

X
# Submit new EBook