KeyError: 20
iptriant opened this issue · comments
jenkspy.jenks_breaks
does not natively support pandas.Series
.
You should transform your values into a numpy array first, using the to_numpy
method (with something like buurten_perfomance['A_obstacle'].to_numpy()
).
Hope this helps. Don't hesitate to tell me if you still have a problem.
jenkspy.jenks_breaks
does not natively supportpandas.Series
. You should transform your values into a numpy array first, using theto_numpy
method (with something likebuurten_perfomance['A_obstacle'].to_numpy()
).Hope this helps. Don't hesitate to tell me if you still have a problem.
This helped me automate a very annoying report at work, so thank you very much for this.