almost-matching-exactly / DAME-FLAME-Python-Package

A Python Package providing two algorithms, DAME and FLAME, for fast and interpretable treatment-control matches of categorical data
https://almost-matching-exactly.github.io/DAME-FLAME-Python-Package/
MIT License
57 stars 14 forks source link

Valid input checking for unique indexes #11

Open nehargupta opened 4 years ago

nehargupta commented 4 years ago

We don't check this right now, and it would cause problems if someone inputs a dataframe with nonunique indexes. Add something to data_cleaning.py that checks via: df.index.is_unique

AngikarGhosal commented 3 years ago

This is done

nehargupta commented 3 years ago

Hm I thought that I merged this in but I'm forgetting now and I don't see code that fixes it! I either forgot or it didn't happen or it looks different than I expect...no worries, I will double check later :) So leaving this open for now, I will come back to it.