News for hackers. Stuff that matters.
Re:Show HN: Array – A Better Python List by RocketSyntax on Sunday January 10, 2021 @08:32AM (#25714484)
ndarrays "create a new array every time you apply"

That resonates with me now that you explain that I can't do it.

I do like chaining things in pandas like `df.select_types("float").head(100).plot.hist()`

Re:Show HN: Array – A Better Python List by nerdponx on Sunday January 10, 2021 @08:44AM (#25714571)
Be careful though. Numpy and Pandas go through some trouble to make sure that the data inside the array is not actually copied. For instance, reshaping and slicing just return memory views. Pandas emits a somewhat-infamous warning about it that often confuses newbies.