blocklib icon indicating copy to clipboard operation
blocklib copied to clipboard

'CandidateBlockingResult' object has no attribute 'print_summary_statistics'

Open nilbahaaeddine opened this issue 3 years ago • 1 comments

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'

nilbahaaeddine avatar Apr 05 '21 09:04 nilbahaaeddine

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.

wilko77 avatar Apr 06 '21 01:04 wilko77