Jason
Jason

Reputation: 23

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?

Upvotes: 2

Views: 466

Answers (2)

Antonio Ercole De Luca
Antonio Ercole De Luca

Reputation: 547

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

Upvotes: 1

jiminy_crist
jiminy_crist

Reputation: 2445

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.

Upvotes: 0

Related Questions