NumPy 1.24
github.com> "There are also a large number of new and expired deprecations due to changes in promotion and cleanups. This might be called a deprecation release."
The release notes themselves describe what the deprecations are but do not speak much to the reasons that are driving them in the overall lifecycle of this software.
Would anyone kindly shed some light on the intentions behind these deprecations?
Every function seems to have a pull request linked to it e.g. "gh-123456". Some do explain why they think it should be deprecated.
Has anyone noticed numpy running slower on Windows vs. Linux given the same hardware? I would have expected similar performance, but it seems like on my setup the same python runs about 20-30% faster on linux, all other things being equal.
That seems about on par with my experience. Even my own numeric code in C++ frequently runs significantly faster on Linux on the same hardware.
It could be something clever like maybe gcc uses a better allocator or maybe you have better, I dunno, OpenMP libraries on Linux (or whatever the C++ equivalent is)
On the other hand, when I boot into Windows for games, it always surprises me how much CPU Windows uses just… sitting there, doing nothing.
Windows has a hard time "getting out of the way" and this extends all the way down to core numerical routines. Have you ever tried installing CUDA drivers on Windows without WSL?
What blas implementation does numpy use on Windows?
How do people usually pronounce numpy? num-pee or num-pie?
Considering the capital P in NumPy, I've come to assume that the Py is meant to be pronounced as in Python, thus "num-pie"
I use the latter, mostly since it has the same vowel as in ‘Python’.
If in doubt, you can always check out the Lex Fridman podcast with Numpy creator Travis Oliphant: https://www.youtube.com/watch?v=gFEE3w7F0ww
They pronounce the "Py" as "pie".
YouGlish is a handy resource for this sort of question.
209 video clips with searchable transcripts use "NumPy": https://youglish.com/pronounce/NumPy/english?
Out of the first 16 clips I checked (which contain a few duplicate speakers), all say "num-pie".
Next, "sqlite": https://youglish.com/pronounce/sqlite/english?
15 for "sequel-light", 1 for "S-Q-L-light". 430 left to check.
I recently learned YouGlish also supports other languages!
Here's how French people say "Python" - https://youglish.com/pronounce/python/french?
For a word that blew my mind when I first saw it, here are 68 clips of the German word "Höchstgeschwindigkeit": https://youglish.com/pronounce/H%C3%B6chstgeschwindigkeit/ge...? .
Checked MySQL and i see almost everyone pronounces it as My Sequel. Well, with the exception of Marten Mickos, who was the CEO of MySQL before same was acquired by Sun Microsystems. I guess, this would be another tomato, tomahto.
It has to be pronounced in the French fashion: Liberté, Fraternité and Sequalité> 15 for "sequel-light", 1 for "S-Q-L-light". 430 left to check.SQL is pronounced like squirrel if you are not afraid
I first read numpy all in lower case as imports and pronounced it num-pee, rhyming with “this road is bumpy.”
I am frequently stupidly oblivious, so the first time I noticed the docs spelling it “NumPy” I thought that an odd spelling for a package called num-pee.
Only when I heard it in a presentation did it all click and I laughed at my misunderstanding.
I now attempt to say “num-pie” but frequently mispronounce in error.
NumPy is camel case for Num-Py
I use "num-pee". It seems like the "correct" English pronunciation because of words like these: https://www.thefreedictionary.com/words-that-end-in-py
However, it does not surprise/bother me if someone goes for "num-pie".
> However, it does not surprise/bother me if someone goes for "num-pie".
I mean the Py comes from python where it certainly sounds more like pie.
The real question then is: How would the file ending .py be pronounced?
source code dot pie
fwiw I have never met a native English speaker who says "num-pee". Although -py = "pee" for most English words, this random made-up proper noun is yet again another weird English exception...
It's two abbreviations joined together Num- and Py- so they keep their pronunciation. You'd have to ask why is Python pronounced as "pai"? Another example with similar pronunciation is Pythagoras. That's a less easy question to answer due to words like pyramid, pygmy that start with a reduced i sound (sorry can't type IPA on my phone).
When you have a consonant and a Y, it's generally quite common for that Y to make an "ai" sound. Like bylaw, dynamo, kyle, lying, rye, xylophone. So I'd say that Python's pronunciation is unexceptional.
In the case of pyramid, it comes from French pyramide so it follows the pronunciation of French. It's worth noting that both pyramid and pygmy have alternate/misspellings that use "pi" which shows that their spelling as "py" is not very natural to native speakers.
The pygmy pyromaniac in pyjamas drove the python from the pyramid with pyrotechnics.
Interesting. Both python and pyramid most likely come from Latin though, and in both Latin and French the "py" python is pronounced the same as the "py" in pyramid. So there must be more to it.
Wish people would pronounce regex with the same logic
Don't they? I always used that rule and pronounced it as in REGular EXpression. Do people say it differently? Like a soft g and long e like in "regent"?
It is easier to make the "j" said for "rejex". The "g" sound is more effortful (it is "made" more in the back of the mouth, compared to "j"). Laziness wins the day again on pronunciation xD
I would pronounce it “regular expression.” I can see shortening it in text, it is a lot of letters, but reg-eks seems only marginally shorter than “regular expression” and the latter has normal, easy flowing words without weird stop in the middle. “Reglr spression” “Regula espressen.”
Yeah, where did rejex even come from? Perhaps, people don’t know that it’s regular expression?
I say num-pee because it sounds more funny. It's a good contrast to the cold, lifeless, calculating heart of modern scientific computing.
"Passing dtype instances other than the canonical (mainly native byte-order) ones to dtype= or signature= in ufuncs will now raise a TypeError."
This update breaks Seaborn library. I need to keep numpy on v1.23
worth a look https://github.com/numpy/numpy/issues/14412