如何在 Dask 中写入 Elastic 数据库?

How to write to Elastic db in Dask?

如何在Dask中将计算后的数据写入Elastic DB? 就像我需要在 SQL 数据库和 Elasticsearch 中计算我的输出。

在搜索引擎上搜索 "Dask Elasticsearch" 确实会出现一些结果。我个人对他们并不熟悉。

或者,假设您使用的是 dask 数据框,您可以使用 map_partitions 或 to_delayed 等操作,然后使用您自己的自定义代码。 https://docs.dask.org/en/latest/best-practices.html#learn-techniques-for-customization