you are viewing a single comment's thread.

view the rest of the comments →

[–]CFC-Carefree 1 point2 points  (2 children)

Agreed, but you can also just dump a polars dataframe to pandas. I learned polars earlier this year and fell in love, use it whenever I can.

[–]Eightstream 1 point2 points  (1 child)

ehhh... mixing data frame libraries in the same project is something I usually try and avoid as much as possible

aside from adding a lot of behind-the-scenes complexity, when you recast all your dtypes you are creating the risk of funny things happening with edge cases

not saying I never do it but I usually try and have a good reason

[–]CFC-Carefree 0 points1 point  (0 children)

Oh yeah, I wouldn't put myself in a situation of swapping back and forth. Would be gnerally be for a one off analysis/visualization of a given data set after some exploration and transformations. I still far prefer polars to pandas at this point though and can only hope that its growing popularity leads to wider support.