Python

NumPy Difference

Submitted by moazkhan on

In this tutorial you will learn:

  • What is the NumPy Difference?
  • Implementation of difference in Python
  • Python Syntax

NumPy Difference

Difference is just another name for the operation of subtraction. It is a very common operation in the world of computation, mathematics and science.

NumPy Product

Submitted by moazkhan on

In this tutorial you will learn:

  • What is the product of numbers?
  • Implementation of product using different functions in Python
  • Python Syntax

Product of Number

Product is just another name for the operation of multiplication. It is a very common operation in the world of computation, mathematics and science.

NumPy Sum

Submitted by moazkhan on

In this tutorial you will learn:

  • What is difference between summation and addition?
  • Implementation of summation using different functions in Python
  • Python Syntax

Summation

Summation is the sum of all the elements of an array, if we are adding up two arrays it would be the index wise addition of elements which will result in another array having the size equal to the size of arrays being added up. Summation and addition are commonly used in mathematics and sciences to carry out basic tasks.

Bank Management System Using Python

Submitted by razormist on
Bank Management System with Source Code is a Python program that can manage all your banks accounts safely secured. This program was built using Python language. The system is a simple console application, the user can operate the system freely by entering a certain numeric keys. The user can create new bank account, can deposit / withdraw money, and check account balance. The system also have a

NumPy Log

Submitted by moazkhan on

In this tutorial you will learn:

  • What is a logarithm?
  • Implementation of Log with different bases in Python
  • Python Syntax

Logarithm

In order to simplify the calculations, Logarithms were introduced in 1614 by John Napier. Logarithm is inverse to an exponential function. Lets take a number x, its logarithm is the exponent to which another fixed number, the base b must be raised to produce x. The logarithm with base 10 is called as the common logarithm and it has many applications in the domain of engineering and science.

NumPy Rounding Off

Submitted by moazkhan on

In this tutorial you will learn:

  • What is rounding off the decimal?
  • Python functions that could round off the decimals?
  • Python Syntax

Rounding off the decimals

Rounding off is a simple technique for conversion of float numbers to integers, however, the resultant value will be less accurate (as we remove the part after decimal), but easier to use. The data in type of most of the arrays as a programmer we will be encountering while coding in python will be the integers and floats.

Ufunc Arithmetic

Submitted by moazkhan on

In this tutorial you will learn:

  • What are Arithmetic functions?
  • How to implement simple arithmetic function?
  • Python Syntax

Arithmetic function

Arithmetic operations are the simple operations of addition, subtraction, multiplication and division. The simple arithmetic universal functions in python can take in an array as well as lists and tuples to perform the index wise operations of addition, subtraction, multiplication and division. The simple arithmetic functions can be performed unconditionally and conditionally as well.

Creating Ufunc

Submitted by moazkhan on

In this tutorial you will learn:

  • How to create own ufunc?
  • Checking types of funcs?
  • Python Syntax

Creating a ufunc

NumPy provides programmers a flexibility to create a ufunc by letting the programmers define a ufunc and adding that function in NumPy ufunc library using the inbuilt method “frompyfunc”.

NumPy Ufunc

Submitted by moazkhan on

In this tutorial you will learn:

  • What is NumPy ufunc?
  • Characteristics of ufunc?
  • Why we use ufuncs?

NumPy ufunc

NumPy ufunc stands for NumPy universal function. In NumPy library mathematical functions are termed as universal functions and multiple universal functions are provided which could cover a variety of operations. NumPy unfunc is a vectorized wrapper which takes a fixed number of inputs and produce fixed number of output(s).

Zipf Distribution in Python

Submitted by moazkhan on

In this tutorial you will learn:

  • What is Zipf Distribution?
  • Zipf Distribution Implementation in python
  • Visualization of Zipf Distribution

Zipf Distribution

Zipf Distribution is a discrete pareto distribution also known as Riemann zeta distribution. It is specified by probability mass function. Zipf distribution samples the data based on Zipf’s law which refer to the fact that many types of data studied in the physical and social sciences can be approximated with a Zipfian distribution.