从RDataFrame到PDKEEPAAA再回来很尴尬
Awkward to RDataFrame and back
摘要:
Awkward Arrays和RDataFrame提供了两种非常不同的大规模计算方法。通过添加它们之间的零拷贝转换能力,用户可以获得两者的最佳效果。它为用户在分析中混合不同的包和语言提供了更好的灵活性。在Awkward Array版本2中,ak.to_rdatrame函数将Awkward Array的视图显示为RDataFrame源。此视图是按需生成的,不会复制数据。列读取器是根据视图的运行时类型生成的。读取器被传递到从ROOT::RDF::RDataSource派生的生成源。函数的作用是:将选定的列转换为本机尴尬数组。利用JIT技术的实施细节进行了讨论。通过一个RDataFrame的高层次接口的数据存储在尴尬的数组分析的例子。显示了列定义的几个示例,应用用C++编写的用户定义的过滤器,并将列数据绘制或提取为Awkward Arrays。目前的局限性和未来的计划进行了讨论。
英文摘要:
Awkward Arrays and RDataFrame provide two very different ways of performing calculations at scale. By adding the ability to zero-copy convert between them, users get the best of both. It gives users a better flexibility in mixing different packages and languages in their analysis. In Awkward Array version 2, the ak.to_rdataframe function presents a view of an Awkward Array as an RDataFrame source. This view is generated on demand and the data are not copied. The column readers are generated based on the run-time type of the views. The readers are passed to a generated source derived from ROOT::RDF::RDataSource. The ak.from_rdataframe function converts the selected columns as native Awkward Arrays. The details of the implementation exploiting JIT techniques are discussed. The examples of analysis of data stored in Awkward Arrays via a high-level interface of an RDataFrame are presented. A few examples of the column definition, applying user-defined filters written in C++, and plotting or extracting the columnar data as Awkward Arrays are shown. Current limitations and future plans are discussed.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。