danfo.DataFrame.values [source]
Returns:
return Array
Note: To get the Tensorflow tensor backing the DataFrame, you can call the .tensor property on the DataFrame.
const dfd = require("danfojs-node")let data = {"A": [-20.1, 30, 47.3, -20],"B": [34, -4, 5, 6],"C": [20, -20, 30, -40]}let df = new dfd.DataFrame(data)console.log(df.values)
[[ -20.1, 34, 20 ],[ 30, -4, -20 ],[ 47.3, 5, 30 ],[ -20, 6, -40 ]]