Series.isNa
Detect Missing values
danfo.Series.isNa()
Parameters: None
Returns: Series (Boolean element)
Example
Node
1
const dfd = require("danfojs-node")
2
3
let data1 = [NaN, undefined, "girl", "Man"]
4
let sf = new dfd.Series(data1)
5
6
sf.isNa().print()
Copied!
Output
1
╔═══╤═══════╗
2
║ 0 │ true ║
3
╟───┼───────╢
4
║ 1 │ true ║
5
╟───┼───────╢
6
║ 2 │ false ║
7
╟───┼───────╢
8
║ 3 │ false ║
9
╚═══╧═══════╝
Copied!
Last modified 13d ago
Copy link