On Mon, Jun 6, 2011 at 2:31 PM, Mark Wiebe <[email protected]> wrote:

> On Mon, Jun 6, 2011 at 1:33 PM, Christopher Barker 
> <[email protected]>wrote:
>
>> <snip>
>>
> This is even self inconsistent:
>>
>> 1Y == 365D
>>
>> 1Y == 12M == 12 * 30D == 360D
>>
>> 1Y == 12M == 12 * 4W == 12 * 4 * 7D == 336D
>>
>> 1Y == 52W == 52 * 7D == 364D
>>
>> Is it not clear from this what a mess of mis-interpretation might result
>> from all that?
>>
>
> This part of the code is used for mapping metadata like [Y/4] -> [3M], or
> [Y/26] -> [2W]. I agree that this '/' operator in the unit metadata is
> weird, and wouldn't object to removing it.
>

I'd be happy to remove the multiplier before the unit name too. The NEP
gives a rationale mentioning C#'s tick unit being 100ns, but I don't see
that or the other reasons providing a good explanation for it.

-Mark
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to