by Sharp Sight | Jun 17, 2019

In this tutorial, I’m going to show you how to use the NumPy hstack function, which is also called np.hstack or numpy.hstack. This is a very simple tool that we use to manipulate NumPy arrays. Specifically, we use np.hstack to combine NumPy arrays horizontally....
by Sharp Sight | Jun 3, 2019

This tutorial will explain the NumPy random choice function which is sometimes called np.random.choice or numpy.random.choice. I recommend that you read the whole blog post, but if you want, you can skip ahead. Here are the contents of the tutorial … Contents: a...
by Sharp Sight | May 20, 2019

This tutorial will show you how to use the NumPy sort method, which is sometimes called np.sort or numpy.sort. As the name implies, the NumPy sort technique enables you to sort NumPy arrays. So, this blog post will show you exactly how to use the technique to sort...
by Sharp Sight | May 6, 2019

In this tutorial, I’ll explain how to use the NumPy random seed function, which is also called np.random.seed or numpy.random.seed. The function itself is extremely easy to use. However, the reason that we need to use it is a little complicated. To understand...
by Sharp Sight | Apr 22, 2019

In this tutorial, I’ll show you how to make a simple matplotlib line chart. Essentially, I’ll show you how to use the plt.plot function from pyplot to create a line chart. Line charts are a little confusing in Python I’ll be honest. Creating a line...