# NumPy Tutorials and Examples for Beginners NumPy is a Python package which stands for ‘Numerical Python’. It is the core libraryfor scientific computing, which contains a powerful n-imensional array object, providetools for integrating C, C++ etc.

In this page, we have written some numpy tutorials and examples, you can lean how to use numpy easily.

## A Basic Numpy Data Types List for Beginners – Numpy Tutorial

Numpy data type is called dtype, in this tutorial, we will list some common used numpy data types, which is much richer than python standard data types.

## Understand numpy.logspace() Function for Beginners – NumPy Tutorial

numpy.logspace() function can generate geometric series based on base( such as base = 10.0). In this tutorial, we will write some examples to show you how to use this function correctly.

## Best Practice to NumPy Create Hilbert Matrix for Beginners – NumPy Tutorial

Hilbert matrix is highly ill-conditioned matrix, in this tutorial, we write an python function to generate a hilbert matrix with numpy, you can use this function in your machine learning model.

## Understand numpy.newaxis with Examples for Beginners – NumPy Tutorial

numpy.newaxis represents a new axis in numpy array, in this tutorial, we will write some examples to help you understand how to use it correctly in python application.

## Understand Difference Between Python random.randint() and numpy.random.randint() – Python Tutorial

To generate a random integer, we can use python random.randint() and numpy.random.randint(), however, they are different. In this tutorial, we will discuss the difference between them.

## Best Practice to Calculate Cosine Distance Between Two Vectors in NumPy – NumPy Tutorial

Cosine distance is often used as evaluate the similarity of two vectors, the bigger the value is, the more similar between these two vectors. In this tutorial, we will introduce how to calculate the cosine distance between two vectors using numpy, you can refer to our example to learn how to do.

## Calculate Spearman’s Correlation Coefficient for Beginners – NumPy Tutorial

Spearman’s Correlation Coefficient is widely used in deep learning right now, which is very useful to estiment the correlation of two variables. In this  tutorial, we will introduce how to calculate spearman’s correlation coefficient.

## What is Sample Variance and How to Compute it in Numpy – Numpy Tutorial

In this tutorial, we discuss what is sample variance and how to calculate it in numpy, you can learn how to do by referring our tutorial.

## Why numpy.var() can be Inaccurate When Computing Matrix Variance? – Numpy Tips

In this tutorial, we write an example to discuss why numpy.var() can be inaccurate when computing matrix variance in numpy, you can learn how to compute matrix variance correctly by our this tutorial.

## Calculate Average, Variance, Standard Deviation of a Matrix in Numpy – Numpy Tutorial

In this tutorial, we introduce how to calculate the average, variance and standard deviation of a matrix in numpy, they are common used in many applications, you can learn how to do by referring our tutorial.