Powered By GitBook
Series.mode
Obtain the center value in a series
danfo.Series.min() [source]
Parameter: None
Return: Number
Example
Node
1
const dfd = require("danfojs-node")
2
3
let data1 = [20, 30, 1, 2, 4, 57, 89, 0, 4]
4
let sf1 = new dfd.Series(data1)
5
6
console.log(sf1.mode())
Copied!
Output
1
[ 4 ]
Copied!
Last modified 1yr ago
Copy link