Series.at

Access a single value for a row/column label pair.

danfo.Series.at(label)

ParametersTypeDescriptionDefault

label

String

label to index by

Return: Scalar

const dfd = require("danfojs-node")

let sf = new dfd.Series(["Apples", "Mango", "Banana", "Pear"],
    { index: ["a", "b", "c", "d"] }
)

sf.at("a")

// "Apples"

Last updated