min

statistics

Finds the minimum value

Syntax

min(array|dataframe)

Parameters

array|dataframe (array or dataframe)

The data to find the minimum value in

Returns

number

The minimum value

Examples

Input:
[5, 2, 8, 1, 9] | min
Output:
1
Find minimum and maximum prices from products
Input:
map(.price) | {min: min, max: max}
Output:
{"min": 9.99, "max": 199.99}

The min() function finds the minimum (smallest) value in an array or DataFrame column.

Usage

Use min() to identify the smallest value in your data, useful for range analysis and boundary detection.

Related Functions