DataFrame.at
Access a single value for a row/column label pair.
danfo.DataFrame.at(row, column)
Parameters
Type
Description
Default
row
Number, String
row position in the index
column
String
Column position
Return: Scalar
Node
1
const dfd = require("danfojs-node")
2
3
let data = {
4
"Name": ["Apples", "Mango", "Banana", "Pear"],
5
"Count": [21, 5, 30, 10],
6
"Price": [200, 300, 40, 250]
7
}
8
9
let df = new dfd.DataFrame(data, { index: [1, "b", "c", "d"] })
10
df.at(1, "Count")
11
12
//output
13
21
Copied!
Copy link