Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 451 Bytes

series.max.md

File metadata and controls

36 lines (26 loc) · 451 Bytes
description
Obtain the maximum value in a Series

Series.max

danfo.Series.max()

Parameter: None

Return: Number

Example

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

const dfd = require("danfojs-node")

let data1 = [20, 30, 1, 2, 4, 57, 89, 0, 4]
let sf1 = new dfd.Series(data1)

console.log(sf1.max())

{% endtab %} {% endtabs %}

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

89

{% endtab %} {% endtabs %}