## 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 across any axis. b.)…

This author has written 48 articles

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 across any axis. b.)…

0 Comments

February 12, 2019

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 similar functions to calculate cosine,…

February 12, 2019

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 operation between numbers for each…

February 12, 2019

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. 1. Changing array shape A.)Reshape(a,…

February 12, 2019

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 an array. Each element of…

February 12, 2019

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

February 12, 2019

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 creation objects (e.g. arange, ones,…

February 12, 2019

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 them almost have similar functions.…

February 12, 2019

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 values(True or False). int_ -…

February 12, 2019

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 prerequisite then go for Python…

February 12, 2019