Skip to content
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

'CandidateBlockingResult' object has no attribute 'print_summary_statistics' #145

Open
nilbahaaeddine opened this issue Apr 5, 2021 · 1 comment

Comments

@nilbahaaeddine
Copy link

In the following code:

from blocklib import generate_candidate_blocks
block_obj_alice = generate_candidate_blocks(alice['data'], blocking_config, header=alice['columns'])
block_obj_alice.print_summary_statistics()

By executing the following line:
block_obj_alice.print_summary_statistics()

I got the error

AttributeError: 'CandidateBlockingResult' object has no attribute 'print_summary_statistics'
@wilko77
Copy link
Collaborator

wilko77 commented Apr 6, 2021

which version of blocklib are you using?
print_summary_statistics() is a new feature that has not been part of an official release, yet. If you want to use this, you can either

  • try to build blocklib from the current source files, or
  • grab a recent wheel from the CI system and install that with pip install blocklib-0.1.8.dev0-py3-none-any.whl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants