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

2021-12-26 Thread Juan Nunez-Iglesias
I'm surprised no one has mentioned it already: int and uint are reversed in the first table. I do agree with others that this is a great overview page that should be included in the numpy docs. Thanks Lev! Juan. On Sun, 26 Dec 2021, at 12:59 PM, Lev Maximov wrote: > I've tried to take into acc

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

2021-12-26 Thread Lev Maximov
I've tried to take into account all the suggestions from this thread. https://axil.github.io/numpy-data-types.html shows new version now and https://github.com/axil/numpy-data-types/commit/14d9da053fd67e5569436faa1f58599c0cc8b380#diff-ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f

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

2021-12-26 Thread Lev Maximov
Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)] on win32 ^^ this is relevant this is not Type "help", "copyright", "credits" or "license" for more information. >>> import numpy as np >>> np.int_ On Sun, Dec 26,

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

2021-12-26 Thread Michael Siebert
Okay, little modification to my last mail: many Android smartphones are still 32 bit, but according to https://www.androidauthority.com/arm-32-vs-64-bit-explained-1232065/ from 2023 on, all (or at least many) new ARM processors will be 64 bit only. Apple‘s iPhone 64 bit only since quite a while

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

2021-12-26 Thread Michael Siebert
Hi Matti, hi Lev, that‘s cool there are numbers on Python usage! According to those, Windows might still be around quite a while. Would be interesting to include options like „Windows (native)“ and „Windows (WSL)“ for future surveys. Windows is the main operating system I‘m working with most of

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

2021-12-26 Thread Lev Maximov
Hi Michael, > Python on Windows is and is supposed to be, as far as I get it, a dying platform. I would join Matti in thinking that it is a misconception. Have you heard of the enormous daily updated unofficial repository of the binary windows compila

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

2021-12-26 Thread Matti Picus
On 26/12/21 3:44 pm, Michael Siebert wrote: Hey Lev, I‘ve forgotten to mention my MacBook M1, it‘s also int64 there. Python on Windows is and is supposed to be, as far as I get it, a dying platform. Your statement is the first time I have heard this. Of those who answered the 2020 Python

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

2021-12-26 Thread Lev Maximov
Hi, Friedrich > There seems to be missing an "a" before "more". Thank you. Fixed. This is a draft. It will be (more or less) professionally proofread thereafter. > on my machine it runs:: Which OS does your machine run on? > FloatingPointError written instead of RuntimeWarning This is most certa

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

2021-12-26 Thread Michael Siebert
Hey Lev, I‘ve forgotten to mention my MacBook M1, it‘s also int64 there. Python on Windows is and is supposed to be, as far as I get it, a dying platform. A billion things are broken there (HDF comes to my mind) and it seems even Microsoft wants developers to move away from native Windows with

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

2021-12-26 Thread Friedrich Romstedt
Am Sa., 25. Dez. 2021 um 10:03 Uhr schrieb Lev Maximov : > > https://axil.github.io/numpy-data-types.html > Speaking of zero-dimensional arrays more realistic example where you can run > into them is when you iterate over a numpy array with nditer: There seems to be missing an "a" before "more".

[Numpy-discussion] New

2021-12-26 Thread Isha Verma
Hello I am new to NumPy and I would like to contribute. Can someone please help me with the ways I can contribute ! ___ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https:/

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

2021-12-26 Thread Lev Maximov
Dear Michael, Thank you for your feedback! I've fixed the x86_64 typo. I'll think how to reformulate the int32 part. I work on debian x86_64 and windows 10 64bit. Constructing an array with np.array([1,2,3]) as well as np.array([1,2,3], dtype=np.int_) gives me int64 dtype on linux, and int32 on

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

2021-12-26 Thread Michael Siebert
Dear Lev, thank you a lot! Something like this should be part of the Numpy documentation. I like the diagram, looks very nice! Also, I’ve opened an issue regarding data types https://github.com/numpy/numpy/issues/20662 Some feedback from my side: