News for hackers. Stuff that matters.
Re:An Introduction to Scientific Python – Pandas by nzjrs on Monday July 04, 2016 @06:05AM (#12029755)
> The reason is that data-frames are intended for dealing > with heterogeneous data. The proper way to loop over > observations is to convert the variables to a common data > type, e.g. logical or numeric, then you have a matrix and > then you can loop over rows.

Pandas saves its users the 'proper' step of 'converting the variables to a common data type', and lets me iterate over rows to get the observations. That seems like a win to me, no?

There are no comments on this comment yet.