News for hackers. Stuff that matters.
Re:PandaPy has the speed of NumPy and the usability of Pandas by jfim on Friday January 24, 2020 @10:04PM (#22144353)
Sure, if you specify the type. It's still a gotcha because the default behavior is to upcast to floating point unless the type is defined for every integer column of every data frame, which isn't very pythonic.

The example with the (incorrect) join above shows how even other operations can cause this type conversion.

Re:PandaPy has the speed of NumPy and the usability of Pandas by qwhelan on Friday January 24, 2020 @11:04PM (#22144585)
Yes, there's a lot of existing code written assuming the old behavior. But most code has only a few ingestion points, so it's pretty simple to turn on.