5 ms·
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 `d
by RocketSyntax 6y ago
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()`
- nerdponx 6y agoBe 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.