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
Pandas datatypes, such as pd.Int64Dtype (see here), do not seem to be supported:
pd.Int64Dtype
import recordlinkage from recordlinkage.datasets import load_febrl4 dfA, dfB = load_febrl4() # Convert column types to pandas nullable integer (Int64): dfA.postcode = pd.to_numeric(dfA.postcode).convert_dtypes() dfB.postcode = pd.to_numeric(dfB.postcode).convert_dtypes() # Indexation step indexer = recordlinkage.Index() indexer.block("given_name") candidate_links = indexer.index(dfA, dfB) # Comparison step compare_cl = recordlinkage.Compare() compare_cl.numeric("postcode", "postcode", label="postcode") features = compare_cl.compute(candidate_links, dfA, dfB)
gives the error:
TypeError: Cannot interpret 'Int64Dtype()' as a data type
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Pandas datatypes, such as
pd.Int64Dtype
(see here), do not seem to be supported:gives the error:
The text was updated successfully, but these errors were encountered: