Series.isNa

Detect Missing values

danfo.Series.isNa()

Parameters: None

Returns: Series (Boolean element)

Example

const dfd = require("danfojs-node")

let data1 = [NaN, undefined, "girl", "Man"]
let sf = new dfd.Series(data1)

sf.isNa().print()
╔═══╤═══════╗
║ 0 │ true  ║
╟───┼───────╢
║ 1 │ true  ║
╟───┼───────╢
║ 2 │ false ║
╟───┼───────╢
║ 3 │ false ║
╚═══╧═══════╝

Last updated