3 ms·
In fairness, much newer frameworks such as pandas do the same ie `df.agg(“sum”)`. What is it about function names that overloading would solve that singular di
by wodenokoto 4y ago
In fairness, much newer frameworks such as pandas do the same ie `df.agg(“sum”)`.
What is it about function names that overloading would solve that singular dispatch can’t already do?
- 0cf8612b2e1e 4y agoTo carry water for pandas, you can also pass functions into that pattern: ‘df.agg(np.sum)’
- kgwgk 4y agoJust like in the R example, I think.