Numpy Save, Explained

An image that shows how Numpy save "saves" Numpy array data to a .npy file format.

This tutorial will show you how to save your Numpy datasets with Numpy save. It explains what the function does, explains the syntax, and shows step-by-step examples of how to use np.save. If you need something specific, you can just click on any of the following links. Table of Contents: Introduction Syntax Examples Frequently Asked … Read more

How to Use Numpy Argsort in Python

An image that shows how Numpy Argsort returns the index values that would sort a Numpy array.

This tutorial explains how to use the Numpy argsort function. It explains the syntax of np.argsort, and also shows clear examples. If you need help with something specific, you can click on any of these links. The links will take you to the appropriate part of the tutorial. Table of Contents: Introduction to Numpy Argsort … Read more

How to Use Pandas Get Dummies in Python

An image that shows how the Pandas get dummies function creates dummy variables from categorical data, in Python.

In this tutorial, I’ll show you how to use the Pandas get dummies function to create dummy variables in Python. I’ll explain what the function does, explain the syntax of pd.get_dummies, and show you step-by-step examples. If you need something specific, just click on any of the following links. Table of Contents: Introduction Syntax Examples … Read more

How to Use the Pandas Astype Function in Python

A simple image that shows how the Pandas astype method changes the datatype of Pandas dataframes or Series objects.

In this tutorial, I’ll explain how to use the Pandas astype function to modify the datatype of Pandas dataframe columns and Pandas objects. I’ll explain what the technique does, explain the syntax, and show you step-by-step examples. If you need something specific, you can click on any of the following links. Table of Contents: Introduction … Read more

How to Make a Numpy Softmax Function

In this tutorial, I’ll show you how to define a Numpy softmax function in Python. I’ll explain what the softmax function is. And I’ll show you the syntax for how to define the softmax function using the Numpy package. Additionally, I’ll show you a few examples of how it works. If you need something specific, … Read more

How to Create Plotly Small Multiple Charts

In this tutorial, I’ll show you how to create small multiple charts with Plotly Express. So I’ll explain the syntax of how to create Plotly small multiple charts. I’ll also show you a few clear examples, so you can see how it’s done. The tutorial has several sections. If you need something specific, just click … Read more

Regression vs Classification, Explained

An image that visually shows the difference between regression vs classification.

This tutorial will quickly explain the difference between regression vs classification in machine learning. I’ll explain what regression is, what classification is, and then compare them so you can understand the difference. If you want to understand something specific, you can click on any of these links. They’ll take you to the proper section in … Read more

Supervised vs Unsupervised Learning, Explained

An image that shows the difference between supervised and unsupervised learning.

In this article, I’ll explain supervised vs unsupervised learning. The tutorial will start by discussing some foundational concepts and then it will explain supervised and unsupervised learning separately, in more detail. If you need something specific, just click on the link. The following links will take you to specific sections of the article. Table of … Read more