The balance python package offers a simple workflow and methods for dealing with biased data samples when looking to infer from them to some target population of interest.
We suspect that when providing a feature that has mostly unique string values and some NaN values, then this might lead the ipw model to give just weights of 1.
This should be:
Checked.
If exists, to add a check and warning when it happens.
We suspect that when providing a feature that has mostly unique string values and some NaN values, then this might lead the ipw model to give just weights of 1. This should be: