xarray has both bfill and ffill for DataArrays. The implementation useless
bottleneck https://github.com/pydata/bottleneck.
Le lun. 20 mai 2024, à 13 h 22, Warren Weckesser
a écrit :
> On Mon, May 20, 2024 at 9:06 AM Raquel Braunschweig via
> NumPy-Discussion wrote:
> >
> > Hello everyone,
> >
I think the argument nworkers = -1 to scipy.fft.fft2 and scipy.fft.ifft2 is
in the wrong places in the notebook.
Le lun. 11 mars 2024, à 21 h 25, via NumPy-Discussion <
numpy-discussion@python.org> a écrit :
> Good afternoon, Ralf.
>
> We have done some of the measurements you recommended, for
With regard to CPython, there is a recent discussion on this topic:
https://discuss.python.org/t/trying-to-understand-rounding-in-python/28014
Le jeu. 28 déc. 2023, à 21 h 43, Stefano Miccoli via NumPy-Discussion <
numpy-discussion@python.org> a écrit :
> I have always been puzzled about how to
To Andrew Nelson:
> In the return section for fsolve the documentation states that the return
> value, `x`, is an `ndarray`.
True, my bad. There is another issue with `fsolve`: it implicitly changes
the argument passed to `func`. Consider
def func(x):
# x = float(x)
if not
Responding to the post by nico.schloe...@gmail.com (I subscribe to the
digest).
I just wrote the following code:
twb = scipy.optimize.fsolve(phi, tdb, args=(tdb, p, w, hd_tdb, hg_tdb),
xtol=1e-8)
tdb, p, w, hd_tdb, hg_tdb
twb.shape
print("wet-bulb temperature {:.5f} [deg K]".format(float(twb)))