2 ms·
I guess elegance is in the eye of the beholder. Separately, I find it upsetting there are at least 6 ways of reversing a dataframe. It suggests some API smell.
by maest 7y ago
I guess elegance is in the eye of the beholder.
Separately, I find it upsetting there are at least 6 ways of reversing a dataframe. It suggests some API smell.
- staticautomatic 7y agoI get tripped up by the Pandas API no matter how often I use it, and when I haven't used it in a while I practically have to re-learn all the basics. But whenever it does exactly what I need in a readable one-liner, I forgive it for all its transgressions. It's an abusive relationship.