Powered By GitBook
Series.argmax
Returns the int position of the largest value in the series
danfo.Series.argmax() [source]
Parameters: None
Returns: int
Example
Node
1
const dfd = require("danfojs-node")
2
3
let data = [1,30,20,40,50,70,90,200,10,20,12]
4
let sf = new dfd.Series(data)
5
6
sf.argmax()
Copied!
Output
1
7
Copied!
Last modified 1yr ago
Copy link