zalando / expan

Open-source Python library for statistical analysis of randomised control trials (A/B tests)
MIT License
335 stars 50 forks source link

Applying bins to data frames #165

Closed gbordyugov closed 6 years ago

gbordyugov commented 7 years ago

If apply() were replaced by __call__() in https://github.com/zalando/expan/blob/dev/expan/core/binning.py#L48

it would be easier to apply bins to data frames by simply writing binned_df = bin(df, feature)

gbordyugov commented 7 years ago

addressed by https://github.com/zalando/expan/pull/169

daryadedik commented 6 years ago

@gbordyugov can I close this issue?