Home » **Numpy**

### Statistical Functions

Statistics is a module in Python, which can give information about the data If you are not aware of statistics then just go to http://blog.robofied.com/statistics/ In

### Ndarray Object

Ndarray Object To start with this Numpy tutorial, we you need to have the basic idea of python syntax. So, if you don’t have this

### Data Types

Numpy is supporting a large number of data types than python does. Let’s see the data types with examples: bool_ – It will store boolean

### Array Attributes

Array Attributes There are some important attributes we are going to discuss over here. Just don’t confuse or muddle up with some, as some of

### Array Creation

Array Creation There are 5 general mechanisms for creating Numpy arrays are: 1. Conversion from other Python structures (e.g. lists, tuples). 2. Intrinsic Numpy array

### Indexing and Slicing

Indexing and Slicing Array indexing refers to any use of the square brackets ([]) to index array values. There are many options to indexing, which

### Broadcasting

Broadcasting in Numpy Broadcasting is one of the strongest features of Numpy, which makes it more usable. So, Broadcasting is just the concept of how

### Iterating over arrays

Iterating Over Array Numpy package contains an iterator object Numpy.nditer. It is an efficient multi-dimensional iterator object using which it is possible to iterate over

### Array Manipulation

Array Manipulation Array manipulation has some routines for performing the operations on array-like reshaping, transpose. etc. Let’s discuss some usable and important routines. Let’s start.

### Binary Operators

Binary Operators Here are some functions in Numpy to perform binary operations. We will discuss them through example too. 1. bitwise_and: It basically performs AND

### Mathematical Functions

Mathematical Functions 1. Trigonometric Functions A.) sin: Trigonometric sine elementwise. It has input an angle which is in radians(2*pie rad = 360 degrees). It has some

### Statistical Functions

Statistical Functions Numpy has many useful statistical functions for calculating mean, minimum across any axis, variances etc. 1.) Order Statistics a.) Numpy.amin(): Returns the minimum

### Sort, Search and & Counting

Sort, Search and Counting Functions A.) Sorting functions 1.) sort(): It returns a sorted copy of the array. It takes parameters (array, axis, kind). Here for

### Byte Swapping

Byte Swapping It often happens that the memory that you want to view with an array is not of the same byte ordering as the

### Copies and Views

While copying the arrays in numpy, it is copying in a different manner if we use to view and copy function. We will see the

### Matrix Library

Numpy has a matrix library which has all the function in numpy subspace. It will return matrices instead of nd-arrays. Some functions are like empty,

### Linear Algebra

In numpy, we have one module linalg for all the functionalities for linear algebra. Like dot products, decomposition, solving equations etc. We will see some

### I/O with numpy

In this last blog of the series of numpy, we will see how to store numpy arrays in a file and reloading it. Numpy has