Series.argMin

Returns the int position of the smallest value in the series

danfo.Series.argMin() [source]

Parameters: None

Returns: int

Example

const dfd = require("danfojs-node")

let data = [1,30,20,40,50,70,90,200,10,20,12]
let sf = new dfd.Series(data)

sf.argMin()
0

Last updated