I love moredots ❤️
With pip install funcoperators, one can implement the *dotmul* iff dotmul
can be implemented as a function.
L *dotmul* 1
Would work.
Or even a simple tweak to the library would allow L *dot* s to be [x*s for
x in L] and L /dot/ s to be [x/s for x in L]"
I'd implement somethi
I accidentally replied only to Steven - sorry! - this is what I said, with
a typo corrected:
> a_list_of_strings..lower()
>
> str.lower.(a_list_of_strings)
I much prefer this solution to any of the other things discussed so far. I
wonder, though, would it be general enough to simply have this new
On 1/31/2019 12:51 PM, Chris Barker via Python-ideas wrote:
I do a lot of numerical programming, and used to use MATLAB and now
numpy a lot. So I am very used to "vectorization" -- i.e. having
operations that work on a whole collection of items at once.
Example:
a_numpy_array * 5
multiplies
On Thu, Jan 31, 2019 at 09:51:20AM -0800, Chris Barker via Python-ideas wrote:
> I do a lot of numerical programming, and used to use MATLAB and now numpy a
> lot. So I am very used to "vectorization" -- i.e. having operations that
> work on a whole collection of items at once.
[...]
> You can ima
On Thu, Jan 31, 2019 at 4:59 AM Abe Dillon wrote:
> [Steven D'Aprano]
>>
>> It seems strange that you are so worried about
>> the microsecond or so extra reading time it takes to recognize an
>> all-caps word, based on the "shape of the word" model, yet are prepared
>> to pay this enormous cost p
On Fri, Feb 1, 2019 at 4:51 AM Chris Barker wrote:
> I know that when I'm used to working with numpy and then need to do some
> string processing or some such, I find myself missing this "vectorization" --
> if I want to do the same operation on a whole bunch of strings, why do I need
> to writ
On Thu, Jan 31, 2019 at 12:52 PM Chris Barker via Python-ideas <
python-ideas@python.org> wrote:
> I know that when I'm used to working with numpy and then need to do some
> string processing or some such, I find myself missing this "vectorization"
> -- if I want to do the same operation on a whol
On Wed, Jan 30, 2019 at 10:14 PM Chris Angelico wrote:
>
> I didn't, but I don't know if Chris Barker did.
>
nope -- not me either :-)
> (Can't swing a cat without hitting someone named Steve or Chris, in
> some spelling or another!)
>
good thing there aren't a lot of cats being swung around,
You cited articles, but all of them in the context of reading prose, not
code.
What I was asking where papers describing controlled experiments with a
good cross section of programmers with different skill levels against a
good cross-section of different project and team sizes.
Reading code has som
On Thu, 31 Jan 2019 at 02:09, Chris Angelico wrote:
> Time to take this to python-list?
Better still, let's just drop it.
Paul
___
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: h
10 matches
Mail list logo