🐛 Bug
To Reproduce
Steps to reproduce the behavior:
- run
sklift.metrics.uplift_by_percentile,sklift.metrics.plot_uplift_by_percentile,raise error: ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (6,) + inhomogeneous part.
- git code url : https://github.com/maks-sh/scikit-uplift/blob/master/notebooks/uplift_metrics_tutorial.ipynb
Expected behavior
Environment
- scikit-uplift version (0.5.1):
- pandas version (2.2.2):
- numpy version (1.26.4):
Additional context
🐛 Bug
To Reproduce
Steps to reproduce the behavior:
sklift.metrics.uplift_by_percentile,sklift.metrics.plot_uplift_by_percentile,raise error: ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (6,) + inhomogeneous part.Expected behavior
Environment
Additional context