-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exporting to CSV after python parse #105
Comments
hey @BlvdJoe! for what you're trying to do, the tag method would make more sense than the parse method. also, great timing with this question because I just wrote some code to do this task yesterday:
I just used csvkit to read from & write to csv. for the output, I also added an error column to record when addresses encounter a RepeatedLabelError. |
@cathydeng Thank you!! I deleted my previous comment as I figured out what was causing my previous error. You're great! |
First of all - Love this tremendously. Second, I've been trying to use the usaddress.py + csv.py + pandas to import from a csv, parse the rows, then export the rows back out into a csv.
However, when I run the code listed below, it (1) doesn't parse the column headers correctly and (2) doesn't then parse the fields correctly. This approached was recommended to me over on StackOverflow, so please let me know if (1) This approach is silly and/or (2) I'm merely suffering from noob-itis as I am, in fact, terribly new to python.
The text was updated successfully, but these errors were encountered: