We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Hi, just found the country name "Virgin Islands (British)" would be failed to clean to the correct name.
To Reproduce
import pandas as pd from dataprep.clean import clean_country df = pd.DataFrame({"country": ["Virgin Islands (British)", "Virgin Islands (U.S.)"]}) clean_country(df, column="country", output_format="name")
Output:
Expected behavior The based on project country_converter can work like below.
import country_converter as coco names = ["Virgin Islands (British)", "Virgin Islands (U.S.)"] cc = coco.CountryConverter() cc.convert(names=names, to="name_short") # Output: ['British Virgin Islands', 'United States Virgin Islands']
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
qidanrui
No branches or pull requests
Describe the bug
Hi, just found the country name "Virgin Islands (British)" would be failed to clean to the correct name.
To Reproduce
Output:
Expected behavior
The based on project country_converter can work like below.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: