You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, and thank you so much for the super useful library!
I'm trying to import data from a very old and buggy VFP application. The DB is so dirt it even has \x00 characters in a numeric row. This causes dbfread to try and interpret it as a float, which fails as such:
I'm not worried about trying to retrieve useful data from that row - it's empty anyway. The problem is I don't see a way to skip that row during parsing without monkey-patching dbfread. Can you please give any guidance on this matter?
I suppose worst case scenario, I could delete the row from the input file somehow without using dbfread... no idea how, though.
Many thanks!
Oh, my code is basically just iterating through the entire dbf. for row in dbf_file kinda thing.
The text was updated successfully, but these errors were encountered:
Hello, and thank you so much for the super useful library!
I'm trying to import data from a very old and buggy VFP application. The DB is so dirt it even has \x00 characters in a numeric row. This causes dbfread to try and interpret it as a float, which fails as such:
I'm not worried about trying to retrieve useful data from that row - it's empty anyway. The problem is I don't see a way to skip that row during parsing without monkey-patching dbfread. Can you please give any guidance on this matter?
I suppose worst case scenario, I could delete the row from the input file somehow without using dbfread... no idea how, though.
Many thanks!
Oh, my code is basically just iterating through the entire dbf.
for row in dbf_file
kinda thing.The text was updated successfully, but these errors were encountered: