Powered By GitBook
Series.max
Obtain the maximum value in a Series
danfo.Series.max() [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.max())
Copied!
Output
1
89
Copied!
Last modified 1yr ago
Copy link