3 ms·
This might not seem like a big issue but in the beginning, these were my issues 1. Not so easy way to rename columns during aggregation 2. The group by genera
by shankr 5y ago
This might not seem like a big issue but in the beginning, these were my issues
1. Not so easy way to rename columns during aggregation
2. The group by generates its own grouped by data and hence you almost always need `reset_index`
3. Sometimes group by can convert a dataframe to series
4. Now `.loc` has provided bit consistent indexing/slicing, but earlier you had `.ix` `.iloc` and what not
These are something I can remember from top of my head. Of course all of these have solutions, but it makes pandas much more verbose. In R, these are just much more succinct.