News for hackers. Stuff that matters.

axi1

Re: on Tuesday May 30, 2023 @09:20AM (#36124549)
An in-depth overview: copy vs view, C vs Fortran order, etc.
Re:Pandas Illustrated: Visual Guide to Pandas on Thursday February 02, 2023 @04:37AM (#34624283)
To her, I can recommend the book "Big Panda and Little Dragon." Nice illustrations and simple wisdom.
Re:NumPy Illustrated: The Visual Guide to NumPy on Thursday December 31, 2020 @01:54AM (#25590263)
I've finally fixed the article, thanks. Yes, broadcasting is a cool thing, but the docs mostly explains 'how' but not 'why' or 'what for'.
Re:NumPy Illustrated: The Visual Guide to NumPy on Wednesday December 30, 2020 @04:07AM (#25579980)
As a sidenote, I don't write "import numpy as np" in jupyter notebooks (at least as long as I don't share them with others) for I have this line in my ipython startup file.
Re:NumPy Illustrated: The Visual Guide to NumPy on Tuesday December 29, 2020 @07:59AM (#25569326)
Yes, I'm aware that are preparing a mini-revolution in the random number generation. But I was waiting for the interface to settle down a bit prior to including it. I didn't know they were officially deprecated though, thanks for the info! Actually, I don't believe they will ever remove those legacy functions, though, as matlab is still way more popular than numpy overall.
Re:NumPy Illustrated: The Visual Guide to NumPy on Tuesday December 29, 2020 @05:39AM (#25568563)
Thanks, good point! I'll think how to fit it best into the article.
Re:NumPy Illustrated: The Visual Guide to NumPy on Tuesday December 29, 2020 @03:44AM (#25567935)
It probably makes more sense if you think of matrices as n-dimentional arrays: sum eliminates the n-th dimention, insert and delete increase or decrease the n-th dimension size.
Re:NumPy Illustrated: The Visual Guide to NumPy on Tuesday December 29, 2020 @02:59AM (#25567713)
3245 words should be more than enough for that :) My greatest concern about the text that it would be too much of it for something called "Visual Guide", so I tried hard to keep it to bare minimum.
Re:NumPy Illustrated: The Visual Guide to NumPy on Tuesday December 29, 2020 @02:51AM (#25567690)
Actually, it also has

3. A thought-provoking text in between, but apparently didn't hit the target in your case.

Re:NumPy Illustrated: The Visual Guide to NumPy on Tuesday December 29, 2020 @02:50AM (#25567685)
There're two ways to walk it around in the comments here: friends link and archive.is
Re:NumPy Illustrated: The Visual Guide to NumPy on Tuesday December 29, 2020 @02:48AM (#25567679)
Apparently there're problems with overloading this. In pandas it is between(left,right), so they also didn't find a way to get it done properly.
Re:NumPy Illustrated: The Visual Guide to NumPy on Tuesday December 22, 2020 @01:58PM (#25509791)
That was supposed to be a friendlink which allows to read it in any case. But hackernews has obviously trimmed it. This is the right link: https://medium.com/better-programming/numpy-illustrated-the-...

Their payment model is attractive by its fairness:

A micropayment an author gets is proportional to the amount of time a paid reader spent on reading the article as compared to the total time he spent on medium.

And friends links open free access to those who isn't aware or don't like this model.