[Numpy-discussion] Re: An article on numpy data types

2021-12-28 Thread Lev Maximov
>I think timedelta64 is missing. Is that intentional? Yes, thank you! It has stuck in my todo list. Still thinking on the best way to include it. Btw, does it make sense to include the masked arrays? I know Pandas uses something like a masked array for representing null values in the integer colu

[Numpy-discussion] Re: An article on numpy data types

2021-12-28 Thread Evgeni Burovski
Very nice overview! One question and one suggestion: 1. Is integer wraparound guaranteed for signed ints, or is it an implementation detail? For unsigned ints, sure, it's straight from a C standard; what about signed types however. 2. It'd be nice to explicitly stress that dtype=float correspond

[Numpy-discussion] Re: An article on numpy data types

2021-12-28 Thread Stefano Miccoli
Nice overview! In my opinion section 5. Datetimes could benefit from some clarifications, and contains a couple of typos. Let me start with the typos. I read "As in pure python, np.datetime64 is accompained by np.timedelta64 (stored as a single np.uint64) with the expectable arithmetic opera

[Numpy-discussion] adding a new member to the NumPy CoC committee

2021-12-28 Thread Ralf Gommers
Hi all, Anirudh Subramanian has indicated that he is happy to be replaced on the Code of Conduct committee. Right now the committee is Stefan van der Walt, Melissa Mendonca, and Anirudh (stepping down). We'd like to add a new third person. If anyone is interested, could you please reply or reach o

[Numpy-discussion] Re: An article on numpy data types

2021-12-28 Thread Eric Firing
On 2021/12/27 10:09 PM, Lev Maximov wrote: Btw, does it make sense to include the masked arrays? I know Pandas uses something like a masked array for representing null values in the integer columns. Does anyone use NumPy masked arrays nowadays? Yes, numpy masked arrays are very much in use,

[Numpy-discussion] Re: An article on numpy data types

2021-12-28 Thread Lev Maximov
On Tue, Dec 28, 2021 at 9:12 PM Stefano Miccoli wrote: Hi Stefano, > Nice overview! > Thanks! > Of course the first sentence should be “leap years”, which leads to my > main point. > Sure, I've already fixed this one, it just hasn't found its way online yet. > It makes no sense to claim “lea

[Numpy-discussion] Re: An article on numpy data types

2021-12-28 Thread Lev Maximov
On Tue, Dec 28, 2021 at 3:43 PM Evgeni Burovski wrote: > Very nice overview! > > One question and one suggestion: > > 1. Is integer wraparound guaranteed for signed ints, or is it an > implementation detail? For unsigned ints, sure, it's straight from a C > standard; what about signed types howev

[Numpy-discussion] Re: An article on numpy data types

2021-12-28 Thread Lev Maximov
On Wed, Dec 29, 2021 at 12:45 AM Eric Firing wrote: > On 2021/12/27 10:09 PM, Lev Maximov wrote: > > Btw, does it make sense to include the masked arrays? I know Pandas uses > > something > > like a masked array for representing null values in the integer columns. > > Does anyone use > > NumPy ma

[Numpy-discussion] Re: An article on numpy data types

2021-12-28 Thread Brock Mendel
pandas does not use np.ma internally. On Tue, Dec 28, 2021 at 12:56 PM Lev Maximov wrote: > On Wed, Dec 29, 2021 at 12:45 AM Eric Firing wrote: > >> On 2021/12/27 10:09 PM, Lev Maximov wrote: >> > Btw, does it make sense to include the masked arrays? I know Pandas >> uses >> > something >> > li

[Numpy-discussion] Re: An article on numpy data types

2021-12-28 Thread Warren Weckesser
On 12/28/21, Lev Maximov wrote: > On Tue, Dec 28, 2021 at 3:43 PM Evgeni Burovski > > wrote: > >> Very nice overview! >> >> One question and one suggestion: >> >> 1. Is integer wraparound guaranteed for signed ints, or is it an >> implementation detail? For unsigned ints, sure, it's straight from

[Numpy-discussion] Re: An article on numpy data types

2021-12-28 Thread Eric Firing
On 2021/12/28 10:54 AM, Lev Maximov wrote: On Wed, Dec 29, 2021 at 12:45 AM Eric Firing > wrote: On 2021/12/27 10:09 PM, Lev Maximov wrote: > Btw, does it make sense to include the masked arrays? I know Pandas uses > something > like a masked arr

[Numpy-discussion] ANN: SfePy 2021.4

2021-12-28 Thread Robert Cimrman
I am pleased to announce the release of SfePy 2021.4. Description --- SfePy (simple finite elements in Python) is a software for solving systems of coupled partial differential equations by finite element methods. It is distributed under the new BSD license. Home page: https://sfepy.org

[Numpy-discussion] Re: An article on numpy data types

2021-12-28 Thread Charles R Harris
On Tue, Dec 28, 2021 at 2:54 PM Warren Weckesser wrote: > On 12/28/21, Lev Maximov wrote: > > On Tue, Dec 28, 2021 at 3:43 PM Evgeni Burovski > > > > wrote: > > > >> Very nice overview! > >> > >> One question and one suggestion: > >> > >> 1. Is integer wraparound guaranteed for signed ints, or

[Numpy-discussion] Call for ideas: 2021 user survey report

2021-12-28 Thread Stephanie Mendoza
The NumPy survey team is seeking ideas from the community about potential softwares or tools that we could use to generate a report of insights for the 2021 user survey. In 2020, we used Google Charts and Adobe Illustrator to create the following report: https://numpy.org/surveys/NumPy_usersurvey_2