Re:An Introduction to Scientific Python – Pandas
by lottin on Monday July 04, 2016 @05:40AM
(#12029663)
Thanks for clearing that up, now it does make sense. In R most functions handle vectors as well as scalars without distinction, so normally one would use the function directly. Whereas if you wanted to process each element of a vector individually then you'd use apply(). It works the other way around.
[ Parent
| on HN ]
Re:An Introduction to Scientific Python – Pandas
by _Wintermute on Monday July 04, 2016 @08:23AM
(#12030269)
Well that's because R doesn't have scalars, just vectors containing a single value.