-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
How to get Postal code from Preture, City and Town ? #16
Comments
I have Precture, City and Town, so i want to find this postal code. |
That is called "reverse lookup" and it's not a feature of posuto. I guess you could iterate over the postal data to create a dictionary that goes the other way. |
if you are willing to bet that the author Mr. Paul will not make drastic change on the implementation, you could always read the embedded sqlite3 ` from posuto import DBPATH as POSUTO_DBPATH import sqlite3 posuto_df = pd.read_sql_query('SELECT * FROM postal_data', sqlite3.connect( POSUTO_DBPATH )) ` |
To be clear, no, I am not going to add this as a feature. |
No description provided.
The text was updated successfully, but these errors were encountered: