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

IndexError: list index out of range #85

Open
jjconnolly85 opened this issue May 31, 2024 · 0 comments
Open

IndexError: list index out of range #85

jjconnolly85 opened this issue May 31, 2024 · 0 comments

Comments

@jjconnolly85
Copy link

Hi there,
thank you in advance for the help.

I am trying to run a simple de-duplication process but i am encountering the: IndexError: list index out of range

Sample data

data = [("1", "arte musica poetica"),
("2", "arte-musica-poetica UG"),
("3", "another entity"),
("4", "another entity ltd"),
("5", "random")]

Create DataFrame

cols = ["id", "name"]
df = spark.createDataFrame(data, cols)

Initialize AutoLinker

autolinker = AutoLinker()

autolinker.auto_link(
data=df,
)

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

1 participant