"use strict";(self.webpackChunkdf_cereal=self.webpackChunkdf_cereal||[]).push([[261],{7261:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (\"import React from 'react';\\nimport _ from 'lodash';\\n\\nimport { tableToIPC, tableFromJSON } from 'apache-arrow';\\nimport { SimpleDFWidget} from '../../../js/SimpleDFWidget'\\nimport { arrowToDFDataProxy, base64ToBytes } from '../../../js/arrowUtils';\\n\\n\\nexport default function() {\\n\\n    const table = tableFromJSON([{\\n        a: 42,\\n        b: true,\\n        c: 'foo',\\n        d: -23.8\\n        //e: [10,20]\\n    }, {\\n        a: 12,\\n        b: false,\\n        c: 'bar',\\n        d: 9.1\\n        //e: [200,400]       \\n    }]);\\n    const adf = table.data[0];\\n    //const dfd = arrowToDFData(table);\\n    const dfd = arrowToDFDataProxy(table);\\n    console.log(\\\"tableToIpc\\\", tableToIPC(table))\\n\\n    console.log(\\\"dfd[0]\\\", dfd[0], \\\"length\\\", dfd.length);\\n    return <div><SimpleDFWidget df_data={dfd}/></div>\\n}\\n\");//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzI2MS5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsaUVBQWUsMkJBQTJCLHlCQUF5QixhQUFhLDRCQUE0QixvQkFBb0IsV0FBVyxnQkFBZ0IsNENBQTRDLG9DQUFvQyw4QkFBOEIsaUNBQWlDLHNDQUFzQyxvR0FBb0csR0FBRyw0R0FBNEcsR0FBRyxnQ0FBZ0MseUNBQXlDLDRDQUE0QyxvSEFBb0gsMkNBQTJDLElBQUksV0FBVyxHQUFHIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vZGZfY2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