/body>
<script>
(function () {
    window.DataFrame = window.DataFrame || new (function () {
        this.addTable = function (df) {
            let cols = df.cols;
            for (let i = 0; i < cols.length; i++) {
                for (let c of cols[i].children) {
                    cols[c].parent = i;
                }
            }
            df.nrow = 0
            for (let i = 0; i < df.cols.length; i++) {
                if (df.cols[i].values.length > df.nrow) df.nrow = df.cols[i].values.length
   