# Python NumPy

## Numpy exp() function

The numpy exp() function is used to calculate the exponential of an array or scalar value. It returns an array of the same shape as… Read More »Numpy exp() function

## Python exponential numpy

Use the NumPy library numpy.exp() function to calculate the exponential value of each element in an array. The exp the function returns an array with… Read More »Python exponential numpy

## Numpy log base 10

To get Numpy log base 10 use numpy.log10() function. This function calculates the Base-10 logarithm of x where x belongs to all the input array… Read More »Numpy log base 10

## Numpy log base 2

To get Numpy log base 2, you can use numpy.log2() function. This function calculates the Base–2 logarithm of x where x belongs to all the… Read More »Numpy log base 2

## Python Numpy log

Python Numpy log() function calculates the natural logarithm of x, where x belongs to all the input array elements. This function returns an array that… Read More »Python Numpy log

## NumPy filter array by condition | Example code

Use NumPy extract() or Where() function to filter array by condition. NumPy filter array by condition example Simple example code NumPy filter using condition on… Read More »NumPy filter array by condition | Example code

## Compare two Arrays in Python | Example code

Simple use equality operator to compare two Arrays in Python. Example compare two Arrays in Python Simple example code. Output: How to compare two NumPy… Read More »Compare two Arrays in Python | Example code

## Create empty NumPy Array | Example code

There are two ways to create an empty NumPy Array. NumPy.zeros and NumPy.empty Both of these methods differ slightly. Shape – Shape of the new… Read More »Create empty NumPy Array | Example code