-
Notifications
You must be signed in to change notification settings - Fork 4
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
Special number characters are not recognized in python. #183
Comments
Don't try to automatically determine whether a column is a number or a sting. Do this manually for each column. Maybe OpenRefine can help? |
OpenRefine does not help since we need to specify each column. I will add a feature to specify certain special columns. |
Have you started using OpenRefine API yet? Once you figured out how to do things manually, you may direst certain tasks via the API. |
Using OpenRefine API is not realistic since 99% of the reconciliation work should involve human inspection. |
Other graph editing work that are done in OpenRefine can be replaced using Pandas. |
I'm talking about OpenRefine API after the initial conversion. |
We can use Pandas or any other custom editing of CVS files, but I want to keep it as simple as possible. |
In my csv2rdf script, I use isdigit() to check for number characters automatically. However, it recognizes exponential characters like 0³, and circled characters like ⑦ as integers, while the RDFLib is not able to convert those to integer type in an RDF graph. Is there any way to recognize only pure integers in python?
The text was updated successfully, but these errors were encountered: