Vaex:盖亚时代的大数据探索
Vaex: Big Data exploration in the era of Gaia
摘要:
我们提出了一个名为vaex的新Python库,用于处理非常大的表格数据集,例如Gaia目录,N体模拟或任何其他可以按行和列结构化的常规数据集。在规则的N维网格上快速计算统计数据,允许每秒10亿行的分析和可视化。我们使用流算法,内存映射文件和零内存复制策略来允许探索大于内存的数据集,例如核外算法。Vaex允许使用普通Python表达式和numpy函数(的子集)进行任意(数学)转换,这些函数在需要时以小块方式进行延迟评估和计算,从而避免浪费RAM。布尔表达式(也是惰性计算的)可以用来探索数据的子集,我们称之为选择。Vaex使用与Pandas类似的DataFrame API,这是一个非常流行的库,有助于从Pandas迁移。可视化是vaex的关键点之一,可以使用1d(例如直方图),2d(例如带有颜色映射的2d直方图)和3d(使用体绘制)中的分箱统计来完成。Vaex分为几个包:vaex-core用于计算部分,vaex-viz用于主要基于matplotlib的可视化,vaex-jupyter用于基于IPyWidgets的笔记本/实验室中的可视化,vaex-server用于(可选)客户端-服务器通信,vaex-ui用于基于Qt的接口,vaex-hdf5用于基于hdf5的内存映射存储,vaex-astro用于天文学相关选择,转换和内存映射(基于列)适合存储。Vaex是开源的,可以在Github上根据MIT许可证获得,文档和其他信息可以在主网站上找到:www.example.com,www.example.com或www.example.com
英文摘要:
We present a new Python library called vaex, to handle extremely large tabular datasets, such as astronomical catalogues like the Gaia catalogue, N-body simulations or any other regular datasets which can be structured in rows and columns. Fast computations of statistics on regular N-dimensional grids allows analysis and visualization in the order of a billion rows per second. We use streaming algorithms, memory mapped files and a zero memory copy policy to allow exploration of datasets larger than memory, e.g. out-of-core algorithms. Vaex allows arbitrary (mathematical) transformations using normal Python expressions and (a subset of) numpy functions which are lazily evaluated and computed when needed in small chunks, which avoids wasting of RAM. Boolean expressions (which are also lazily evaluated) can be used to explore subsets of the data, which we call selections. Vaex uses a similar DataFrame API as Pandas, a very popular library, which helps migration from Pandas. Visualization is one of the key points of vaex, and is done using binned statistics in 1d (e.g. histogram), in 2d (e.g. 2d histograms with colormapping) and 3d (using volume rendering). Vaex is split in in several packages: vaex-core for the computational part, vaex-viz for visualization mostly based on matplotlib, vaex-jupyter for visualization in the Jupyter notebook/lab based in IPyWidgets, vaex-server for the (optional) client-server communication, vaex-ui for the Qt based interface, vaex-hdf5 for hdf5 based memory mapped storage, vaex-astro for astronomy related selections, transformations and memory mapped (column based) fits storage. Vaex is open source and available under MIT license on github, documentation and other information can be found on the main website: https://vaex.io, https://docs.vaex.io or https://github.com/maartenbreddels/vaex
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。