dfs = [dask.delayed(feather.read_dataframe)(f) for f in files]df = dd.from_delayed(dfs)如果可能,还应该提供meta=(零长度数据帧,描述列,索引和dtypes)和divisions=(索引沿分区的边界值)kwarg.If possible, you should also supply the meta= (a zero-length dataframe, describing the columns, index and dtypes) and divisions= (the boundary values of the index along the partitions) kwargs. 这篇关于将文件夹中的许多羽毛文件加载到dask中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-02 05:04