blocklib
blocklib copied to clipboard
'CandidateBlockingResult' object has no attribute 'print_summary_statistics'
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'
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
.