[Numpy-discussion] number ranges

John Hunter jdhunter at ace.bsd.uchicago.edu
Mon Feb 13 19:38:03 CST 2006


>>>>> "Bill" == Bill Baxter <wbaxter at gmail.com> writes:
    Bill> This is a place where numpy could do something.  I think it
    Bill> would be nice if numpy had something like an 'irange'
    Bill> (inclusive range) function to complement the 'arange'

In my view, this goes a bit against the spirit of the Zen of python
('import this')

  There should be one -- and preferably only one -- obvious way to do
  it.

since there is an obvious way to get the range 1..6.

JDH




More information about the Numpy-discussion mailing list