The Guide for Time Series Data Projects is out.

Download now
Skip to content
Videos

Fundamentals: User Defined Functions

In this video, I show you how to build your own User-Defined Function step-by-step. First, I go through the syntax of the “CREATE FUNCTION” statement. Then, I will show you how to add JavaScript code to the function definition. Finally, I built two User-Defined functions from scratch, one for filtering arrays and another for calculating the distance between two vectors.

Reference: