Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 541 Bytes

series.size.md

File metadata and controls

37 lines (25 loc) · 541 Bytes
description
Obtain the size of a series

Series.size

danfo.Series.size [source]

Parameters: None

Returns: int

Example

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

const dfd = require("danfojs-node")

let data1 = [30.21091, 40.190901, 3.564, 5.0212]
let sf1 = new dfd.Series(data1)

console.log(sf1.size)

{% endtab %} {% endtabs %}

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

4

{% endtab %} {% endtabs %}