Skip to content

Index of max value

Source code

Description

Note that this is 0-indexed.

Usage

<Series>$arg_max()

Value

A numeric value

Examples

library("polars")

as_polars_series(c(5, 1))$arg_max()
#> [1] 0