On 1/25/21, 12:44 PM, Melissa Mendonça wrote:
The NumPy Documentation Team has been discussing video content as part
of our outreach and documentation efforts, in part inspired by the
excellent Spyder IDE channel [1]. At our last meeting, we realized
there is already a good amount of content
Here are my thoughts on textual capitalization (at first, I thought you
wanted to raise money!):
We all agree that in code, it is "numpy". If you don't use that, it
throws an error. If, in text, we keep "numpy" with a forced lower-case
letter at the start, it is just one more oddball to
I have a handout for my PHZ 3150 Introduction to Numerical Computing
course that includes some rules:
(a) All integer-valued floating-point numbers should have decimal points
after them. For
example, if you have a time of 10 sec, do not use
y = np.e**10 # sec
use
y = np.e**10. # sec
On Apr 25, 2019, at 1:04 PM, Ralf Gommers
mailto:ralf.gomm...@gmail.com>>
wrote:
On Sat, Apr 20, 2019 at 12:41 PM Ralf Gommers
mailto:ralf.gomm...@gmail.com>> wrote:
On Thu, Apr 18, 2019 at 10:03
Hi Ralf,
The rejection is disappointing, for sure. Some good ammo for next time
might be the recommendations in this report from the US National
Academies of Science, Engineering, and Medicine:
http://sites.nationalacademies.org/SSB/CurrentProjects/SSB_178892
to be read
by developers working in other languages (i.e. ascontiguousarray gets used
at a lot of "boundaries" with other systems), keeping function names that
make intention very clear is important.
Just my $0.02, anyway. Cheers,
-Joe
On Thu, Oct 25, 2018 at 3:17 PM Alex Rogozhni
Does someone know of a function or a convenient way to automatically
derive a dtype object from a C typedef struct string or a cffi.typeof()?
Am 27.01.2018 10:30 schrieb Joe:
Thanks for your help on this! This solved my issue.
Am 25.01.2018 um 19:01 schrieb Allan Haldane:
There is a new
Thanks for your help on this! This solved my issue.
Am 25.01.2018 um 19:01 schrieb Allan Haldane:
There is a new section discussing alignment in the numpy 1.14 structured
array docs, which has some hints about interfacing with C structs.
These new 1.14 docs are not online yet on scipy.org,
`.
It all makes perfect sense if you think of it of a 0-d array
picking
The same thing is true for example for lists of booleans.
- Sebastian
On Thu, Dec 14, 2017, 04:27 Joe <solar...@posteo.org> wrote:
> Hello,
> thanks for you feedback.
>
> Sorry, if thie question is stupid
no, it will not be treated as a tuple of integers, but as a 0d mask
Eric
On Wed, 13 Dec 2017 at 12:44 Joe <solar...@posteo.org> wrote:
Hi,
yet another question.
I looked through the indexing rules in the
documentation but I count not find which one
applies to x[True] and x[False]
that might e.g result from
r ndarray (of data type
integer or bool)", right?
Or will x[True] trigger basic indexing as it is "a tuple of integers"
because True will be converted to Int?
Cheers,
Joe
___
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://
if scalar_input:
return np.squeeze(ret)
return ret
Is this as good as it gets or do you have other suggestions?
Cheers,
Joe
___
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion
12.2017 09:09 schrieb Nathaniel Smith:
On Tue, Dec 12, 2017 at 12:02 AM, Joe <solar...@posteo.org> wrote:
Hi,
question says it all. I looked through the basic and advanced
indexing,
but I could not find the rule that is applied to make
x[np.newaxis,:] and x[np.newaxis] the same.
I think
Hi,
question says it all. I looked through the basic and advanced indexing,
but I could not find the rule that is applied to make
x[np.newaxis,:] and x[np.newaxis] the same.
Kind regards,
Joe
___
NumPy-Discussion mailing list
NumPy-Discussion
me shape
along all but the first axis."
So it was possible to stack an array (3,) and (2, 3) to a (3, 3) array
without using e.g. atleast_2d on the (3,) array.
Is there a possibility to mimic that behavior with np.concatenate or
np.stack?
Joe
= 180], [1.1, 2.1])
return [2] and not [2.1] ?
Kind regards,
Joe
___
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion
being
discussed in Issue#9193 page.
Thanks,
-cheers
Joe
--
/---
"GNU/Linux: because a PC is a terrible thing to waste" - GNU Generation
********
Joe Philip Ninan
Postdoctoral Researcher
17 matches
Mail list logo