Re: [Numpy-discussion] Add sliding_window_view method to numpy

2020-11-06 Thread Zimmermann Klaus
Hi all, I have absolutely no problem keeping this out of the main namespace. In fact I'd like to point out that it was not my idea. Rather, it was proposed by Bas van Beek in the comments [1,2] and received a little more scrutiny from Eric Wieser in [3]. The reason that it didn't receive the sc

Re: [Numpy-discussion] datetime64: Remove deprecation warning when constructing with timezone

2020-11-06 Thread Noam Yorav-Raphael
Hi, I actually arrived at this by first trying to use pandas.Timestamp and getting very frustrated about it. With pandas, I get: >>> pd.Timestamp.now() Timestamp('2020-11-06 09:45:24.249851') I find the whole notion of a "timezone naive timestamp" to be nearly meaningless. A timestamp should mea

Re: [Numpy-discussion] Add sliding_window_view method to numpy

2020-11-06 Thread Ralf Gommers
On Fri, Nov 6, 2020 at 9:51 AM Zimmermann Klaus wrote: > Hi all, > > > I have absolutely no problem keeping this out of the main namespace. > > In fact I'd like to point out that it was not my idea. Rather, it was > proposed by Bas van Beek in the comments [1,2] and received a little > more scrut

Re: [Numpy-discussion] datetime64: Remove deprecation warning when constructing with timezone

2020-11-06 Thread Brock Mendel
> I find the whole notion of a "timezone naive timestamp" to be nearly meaningless >From the perspective of, say, the dateutil parser, what would you do with "2020-11-06 07:48"? If you assume it's UTC you'll be wrong in this case. If you assume it is in your local timezone, you'll be wrong in Eur

Re: [Numpy-discussion] Add sliding_window_view method to numpy

2020-11-06 Thread Zimmermann Klaus
Hi, On 06/11/2020 15:58, Ralf Gommers wrote: > On Fri, Nov 6, 2020 at 9:51 AM Zimmermann Klaus > mailto:klaus.zimmerm...@smhi.se>> wrote: > I have absolutely no problem keeping this out of the main namespace. > > In fact I'd like to point out that it was not my idea. Rather, it was >