benmiroglio / pymatch

MIT License
276 stars 129 forks source link

record_id #55

Open sangdhua opened 2 years ago

sangdhua commented 2 years ago

Is there anyway I can substitute the record_id with my project specific id? Please help.

harveyaa commented 2 years ago

Hi, I added a change in pull request #57 to address this issue. The best way to operate is to have your specific ids as the index of the dataframe you pass to the Matcher object, these will be saved in a column named og_idx that can be accessed in the matched data output.