toDict() {
        return Object.assign(
            {},
            ...Object.entries(
                this.transpose().toArray()
            ).map(([index, column]) => ({ [this[__columns__][index]]: column }))
        );
    }
Convert DataFrame into dict / hash / object.
@returns {Object} The DataFrame converted into dict.
@example
df.toDict()