# Numpy ## How to Calculate a Z-Score in Python (4 Ways)

In this tutorial, you’ll learn how to use Python to calculate a z-score for an array of numbers. You’ll learn a brief overview of what the z-score represents in statistics and how it’s relevant to machine learning. You’ll then learn… Read More »How to Calculate a Z-Score in Python (4 Ways) ## Calculate a Weighted Average in Pandas and Python

Learn how to use Pandas to calculate the weighted average in Python, using groupby, numpy, and the zip function between two lists. ## Python: Get Index of Max Item in List

Learn how to use Python to get the index of the max item in a list, including when duplicates exist, using for loops, enumerate, and numpy. ## Numpy Dot Product: Calculate the Python Dot Product

Learn how to use Python and numpy to calculate the dot product, including between arrays of different dimensions and of scalars. ## Python Natural Log: Calculate ln in Python

Learn how to use Python to calculate the natural logarithm, often referred to as ln, using the math and numpy libraries, and how to plot it. Learn how to use Python to convert degrees to radians and radians to degrees, using the math library and the numpy library. ## Python Absolute Value: Abs() in Python

Learn how to calculate a Python absolute value using the abs() function, as well as how to calculate in numpy array and a pandas dataframe. ## Python: Subtract Two Lists (4 Easy Ways!)

Learn how to use Python to subtract two lists, using the numpy library, the zip function, for-loops, as well as list comprehensions. ## Python: Transpose a List of Lists (5 Easy Ways!)

Learn how to use Python to transpose a list of lists using numpy, itertools, for loops, and list comprehensions in this tutorial! ## Python: Split a List (In Half, in Chunks)

Learn how to split a Python list into n chunks, including how to split a list into different sized sublists or a different number of sublists.