tephan Hoyer
> *Sent:* Thursday, July 16, 2020 3:06 PM
> *To:* Discussion of Numerical Python
> *Subject:* Re: [Numpy-discussion] Augment unique method
>
>
>
> On Thu, Jul 16, 2020 at 11:41 AM Roman Yurchak
> wrote:
>
> One issue with adding a tolerance to np.unique f
: NumPy-Discussion
On Behalf Of
Stephan Hoyer
Sent: Thursday, July 16, 2020 3:06 PM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] Augment unique method
On Thu, Jul 16, 2020 at 11:41 AM Roman Yurchak mailto:rth.yurc...@gmail.com> > wrote:
One issue with ad
On Thu, Jul 16, 2020 at 11:41 AM Roman Yurchak
wrote:
> One issue with adding a tolerance to np.unique for floats is say you have
> [0, 0.1, 0.2, 0.3, 0.4, 0.5] with atol=0.15
>
> Should this return a single element or multiple ones? One once side each
> consecutive float is closer than the tol
One issue with adding a tolerance to np.unique for floats is say you have
[0, 0.1, 0.2, 0.3, 0.4, 0.5] with atol=0.15
Should this return a single element or multiple ones? One once side each
consecutive float is closer than the tolerance to the next one but the
first one and the last one are c