Subscribe via RSS
  Looking for VBA Tutorials?

Python k-means clustering with scikit-learn

Sep 24, 2021

Let's walk through a real-world example of how to perform data clustering using the Python scikit-learn k-means clustering algorithm.

Outer Product of Two Vectors or Matrices with Python NumPy

Sep 10, 2021

Today we're going to show you examples of how to calculate the outer product of two vectors or matrices using the NumPy library in Python.

Ultimate VBA Training Bundle

$120.00 $57.00

Want to learn more programming languages? We've combined each of our comprehensive VBA reference guides into a single bundle with over 200 tips and macros covering the 125 most important topics in VBA.

NumPy Eigenvalues and Eigenvectors with Python

Aug 13, 2021

Let's learn how to calculate eigenvalues and eigenvectors for a given matrix using the NumPy eigvals and eig methods in Python.

Sorting items in Python using Sort and Sorted Methods

Jul 31, 2021

This article explains sorting in Python using the Sort and Sorted methods. The former sorts items in-place while the latter create copies of sorted collections, like lists and dictionaries.

Python Map, Filter and Reduce for Lambda Functions

Jul 23, 2021

This article explains how to perform different operations on individual items in Python lists using the Map, Filter and Reduce functions with Lambda functions.

Thought about learning VBA?

$120.00 $57.00

We created a suite of 6 VBA cheat sheets with over 200 tips showing you everything you need to know to start making power Excel applications. Take a look!

Optimizing Recursive Functions with Python Memoization

Jul 16, 2021

Let's see how to speed up Python recursive functions by using memoization techniques, like the lru_cache decorator from the functools module.

Python Delete All Files in a Folder

Jul 2, 2021

This tutorial shows you how to delete all files in a folder using different Python libraries. We'll also demonstrate how to only delete files with a specific extension.

Random Number Generation in Python with Random Module

Jun 18, 2021

This tutorial shows how to generate random numbers in Python using the Random module. We'll use this to randomly choose items from a Python list.

Python Set Operations (add, remove, union, intersection and more)

Jun 4, 2021

This tutorial shows you how to perform Python set operations, like adding and removing items, and finding the union, intersection, and difference between sets.

Logging Info and Errors with the Python Logging Module

May 28, 2021

Logging info is not enabled by default. This tutorial teaches you how to use the Python logging module to log info, errors and exceptions in your Python script.

subscribe via RSS