Known problem for regression discontinuity, possibly for other experiments... When the `treatment` column data is integer (0/1) then we get an error, it currently only works when the dtype is boolean