[英]Dask Bag read_text() line order
Does dask.bag.read_text() preserve the line order? dask.bag.read_text()是否保留行顺序? Is it still preserved when reading from multiple files?
从多个文件读取时仍保留吗?
bag = db.read_text('program.log')
bag = db.read_text(['program.log', 'program.log.1'])
Informally, yes, most Dask.bag operations do preserve order. 非正式地,是的,大多数Dask.bag操作确实会保留顺序。
This behavior is not strictly guaranteed, however I don't see any reason to anticipate a change in the near future. 不能严格保证这种行为,但是我看不出有什么理由在不久的将来会发生变化。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.