Powered By GitBook
Series.ndim
Obtain the dimension of a series
danfo.Series.ndim [source]
Parameters: None
Returns: int
Example
Node
1
const dfd = require("danfojs-node")
2
3
let data1 = [30.21091, 40.190901, 3.564, 5.0212]
4
let sf1 = new dfd.Series(data1)
5
6
console.log(sf1.ndim)
Copied!
Output
1
1
Copied!
Last modified 1yr ago
Copy link