[Numpy-discussion] Re: Proposal to accept NEP 52 (Python API cleanup for 2.0)

2023-09-15 Thread Aaron Meurer
The text of the NEP is a bit difficult to read in parts. Some of the proposed changes are buried in comments in the code examples, and in some sections it's not clear what is actually being proposed. Parts of it read more like notes rather than a completed NEP. I would suggest moving all English te

[Numpy-discussion] Re: Proposal to accept NEP 52 (Python API cleanup for 2.0)

2023-09-15 Thread Ralf Gommers
On Fri, Sep 15, 2023 at 8:22 PM Dom Grigonis wrote: > Hello, > > I have a couple of questions: > 1. What is equivalent of np.byte_bounds? I have recently started using > this. > The migration guide says: Now it's available under ``np.lib.array_utils. byte_bounds`` 2. Why are you removing busine

[Numpy-discussion] Re: NEP 55 - Add a UTF-8 Variable-Width String DType to NumPy

2023-09-15 Thread Warren Weckesser
On Mon, Sep 11, 2023 at 12:25 PM Nathan wrote: > > > On Sun, Sep 3, 2023 at 10:54 AM Warren Weckesser < > warren.weckes...@gmail.com> wrote: > >> >> >> On Tue, Aug 29, 2023 at 10:09 AM Nathan >> wrote: >> > >> > The NEP was merged in draft form, see below. >> > >> > https://numpy.org/neps/nep-00

[Numpy-discussion] Re: Proposal to accept NEP 52 (Python API cleanup for 2.0)

2023-09-15 Thread Dom Grigonis
Hello, I have a couple of questions: 1. What is equivalent of np.byte_bounds? I have recently started using this. 2. Why are you removing business day functionality? Are there faster methods in python space for it? As far as I remember, for performance critical applications I have always resorte

[Numpy-discussion] Proposal to accept NEP 52 (Python API cleanup for 2.0)

2023-09-15 Thread Ralf Gommers
Hi all, A lot of work has been happening to implement NEP 52 ( https://numpy.org/neps/nep-0052-python-api-cleanup.html) over the past 1.5 months - mostly work by Mateusz Sokol, and review effort of Sebastian, Nathan and myself. The majority of API changes have been made. There's more to do of cour