Powered By GitBook
Series.isna
Detect Missing values
danfo.Series.isna() [source]
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 ║
3
╟───┼──────────────────────╢
4
║ 0 │ true ║
5
╟───┼──────────────────────╢
6
║ 1 │ true ║
7
╟───┼──────────────────────╢
8
║ 2 │ false ║
9
╟───┼──────────────────────╢
10
║ 3 │ false ║
11
╚═══╧══════════════════════╝
Copied!
Last modified 1yr ago
Copy link