sisl / Discretizers.jl

A Julia package for data discretization and label maps
Other
18 stars 15 forks source link

Discretize uniform count not possible for integer arrays #2

Closed Tchanders closed 8 years ago

Tchanders commented 8 years ago

Hi, is there a reason why binedges has no method for discretising integer arrays with a uniform count?

tawheeler commented 8 years ago

No. I was worried about the repeated value problem and associated edge cases. Feel free to submit a PR, otherwise I can get to it some time.

tawheeler commented 8 years ago

Okay, I added some basic functionality in commit 483244e.