Might be a 'warmup' of the timeit module?
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address
On Tue, Jan 18, 2022, at 21:55, Warren Weckesser wrote:
> expr = 'z.real**2 + z.imag**2'
>
> z = generate_sample(n, rng)
🤔 If I duplicate the `z = ...` line, I get the fast result throughout. If,
however, I use `generate_sample(1, rng)` (or any other value than `n`), it does
not improve matters
In the script below, the evaluation of the expression `z.real**2 +
z.imag**2` is timed using the `timeit` module. `z` is a 1D array of
random samples with dtype `np.complex128` and with length 25.
The mystery is the change in performance of the calculation from the
first array to which it is a
Ganesh Kathiresan's presentation for the latest Newcomers Hour has been posted
on the NumPy YouTube channel: https://youtu.be/VXxa3G4BtEc
P.S. Don't forget to subscribe!
Cheers,
Inessa
Inessa Pawson
Contributor Experience Lead | NumPy
___
NumPy-Discus
K. Rajasekaran, hello and welcome!
We have quite a few options for you. We always welcome educational content
(tutorials, how-tos, etc.). If you are interested in technical writing from the
development point of view, there are plenty of documentation issues in our
GitHub repo: https://github.co
Respected madam,
I would like to contribute to the Numpy documentation team.I am a beginner
in contributing to open source community.So Please guide me on how to get
started in contributing to the Numpy documentation team.I am very eager to
start my contributions as soon as possible.Please l
That's helpful and informative, thank you Matti.
It will also be interesting to see how many calls you get for the
missing wheel (if any). I note that the Python.org download
page says quite clearly that the 64-bit Windows installer is
recommended.
Kind regards,
Peter
On Tue, Jan 18, 2022 at 7:
Our next NumPy Community meeting is scheduled for tomorrow, Wednesday, January
19th at 18:00 (6 pm) UTC.*
Join us via Zoom: https://berkeley.zoom.us/j/762261535
As always, everyone is welcome and encouraged to attend.
To add to the meeting agenda the topics you’d like to discuss, follow the link
On 18/1/22 5:37 pm, Peter Cock wrote:
Dear Charles,
Thank you for your work on the numpy releases, including v1.22.1.
I noticed that for Windows Python 3.10, there is only a 64-bit wheel:
...
Is this expected? My interest is in building Windows Wheels for
packages compiling against NumPy.
On Tue, 2022-01-18 at 18:29 +0100, Benoit Gschwind wrote:
> Hello Sebastian,
>
> Thanks for detail.
>
> The last call has the NPY_ARRAY_C_CONTIGUOUS and NPY_ARRAY_ALIGNED,
> thus I guess it can be no-op most of the time but for some unknown
> case
> it's may be safer ?
Ah, yes, you are right, an
Hello Sebastian,
Thanks for detail.
The last call has the NPY_ARRAY_C_CONTIGUOUS and NPY_ARRAY_ALIGNED,
thus I guess it can be no-op most of the time but for some unknown case
it's may be safer ?
Best regards
On Tue, 2022-01-18 at 09:22 -0600, Sebastian Berg wrote:
> On Tue, 2022-01-18 at 14:56
Dear Charles,
Thank you for your work on the numpy releases, including v1.22.1.
I noticed that for Windows Python 3.10, there is only a 64-bit wheel:
numpy-1.22.1-cp310-cp310-win_amd64.whl
That is true both on PyPI and in the list of checksums here:
https://github.com/numpy/numpy/releases/tag/
On Tue, 2022-01-18 at 14:56 +0100, Benoit Gschwind wrote:
> Hello,
>
> I using the following code:
>
> if (PyArray_TYPE(arr1) == NPY_DATETIME) {
> // Ensure datetime64[ms]
> auto tmp =
> reinterpret_cast(PyObject_CallMethod(reinterpret_cast
> (arr1), "astype", "(s)", "datetime64[m
On Tue, Jan 18, 2022 at 3:33 PM wrote:
> Hi,
>
> We are using Openstack zuul ( Openstack CI ) to deploy devstack on IBM
> PPC64el hardware
>
> In
> https://review.opendev.org/c/openstack/requirements/+/824810/2/upper-constraints.txt#124
> commit
> the numpy package version is updated from 1.22.0
My apologies, the message was approved in error.
Kind regards,
Inessa
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discuss
Packaging is an important part of the marketing mix for candles. It is the
first opportunity to make an impression on the consumer and can be used to
create a sense of excitement and anticipation. Candle boxes wholesale also help
protect the candle from damage and make it easier to store and tra
Hi,
We are using Openstack zuul ( Openstack CI ) to deploy devstack on IBM PPC64el
hardware
In
https://review.opendev.org/c/openstack/requirements/+/824810/2/upper-constraints.txt#124
commit
the numpy package version is updated from 1.22.0 to 1.22.1
When the version 1.22.0 of numpy was used s
Related: can someone point to a somewhat definitive help article on the
current state of typing for ndarrays? I am interested in this too.
Of late my experience has been trying to straddle the web and scientific
computing worlds (I have been writing a scientific/engineering based web
app), and whi
Hello,
I using the following code:
if (PyArray_TYPE(arr1) == NPY_DATETIME) {
// Ensure datetime64[ms]
auto tmp =
reinterpret_cast(PyObject_CallMethod(reinterpret_cast(arr1),
"astype", "(s)", "datetime64[ms]"));
std::swap(arr1, tmp);
Py_XDECREF(tmp);
// En
Hi Vincent,
To answer your two questions:
* The problem with indexing is that whether you got a scalar or an array
thereof is dependent on the dimensionality of the array. While shape-typing is
something that's being worked on (see PEP 646), we're not quite there yet and
for the mean time
Sorry to bump my own issue, but I wonder if just no-one knows, or if it
has been overlooked, or maybe I did not explain my questions right?
Should I rather ask this on SO? Or should I just be more patient...?
Thanks!
Vincent.
On 1/13/22 11:43, Vincent Schut wrote:
Hi,
I'm having a hard(ish)
21 matches
Mail list logo