简体   繁体   中英

Dask Bag read_text() line order

Does dask.bag.read_text() preserve the line order? 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.

This behavior is not strictly guaranteed, however I don't see any reason to anticipate a change in the near future.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM