Skip to content

The Splink Altair "blocking rules" chart is not displayed correctly when saved as PNG #3336

Closed Answered by mattijn
aalexandersson asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for raising! I can reproduce the issue as such:

import pandas as pd
import altair as alt

df = pd.DataFrame.from_records([
      {
        "row_count": 583013,
        "rule": "(l.\"last_name\" = r.\"last_name\") AND (l.\"dob\" = r.\"dob\")",
        "cumulative_rows": 583013,
        "cartesian": 449211603714,
        "reduction_ratio": "The rolling reduction ratio with your given blocking rule(s) is 0.999999. This represents the reduction in the total number of comparisons due to your rule(s).",
        "start": 0
      },
      {
        "row_count": 110803,
        "rule": "(l.\"first_name\" = r.\"first_name\") AND (l.\"dob\" = r.\"dob\")",
        "cumulative_rows": 693816,…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aalexandersson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants