Links

danfo.Utils

Utility class with useful methods
The Utils class holds useful utility methods, mostly used internally in the Danfojs library.
For example, in the following example, we use the inferDtype function from the utils class.
Node
import { Utils } from "danfojs-node"
const utils = new Utils()
const arr = [NaN, 2.1, 3.3, 2.09]
console.log(utils.inferDtype(arr))
//output
[ 'float32' ]