简体   繁体   中英

Read Fixed Width File with dask.dataframe

Does dask have a function for reading and parsing fixed width files like pandas read_fwf? If not has that been a requested feature?

Since December 2018, this feature is added to Dask. Let's have a look to the merge: here .

There is no dask equivalent of read_fwf , but there is read_table , which can sometimes read the same files (you may need specify some keyword arguments). read_fwf could be added, but no issue request has been made yet. If your problem is not resolved by read_table , please file an issue .

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