Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 555 Bytes

series.argmin.md

File metadata and controls

34 lines (25 loc) · 555 Bytes
description
Returns the int position of the smallest value in the series

Series.argMin

danfo.Series.argMin() [source]

Parameters: None

Returns: int

Example

{% tabs %} {% tab title="Node" %}

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()

{% endtab %} {% endtabs %}

{% tabs %} {% tab title="Output" %}

0

{% endtab %} {% endtabs %}