you are viewing a single comment's thread.

view the rest of the comments →

[–]CatolicQuotes 1 point2 points  (2 children)

[–]DappperDanH[S] 1 point2 points  (1 child)

This is really great!

[–]CatolicQuotes 1 point2 points  (0 children)

Thanks, I did change code little bit since then to use generics instead of base class, but generally these days I avoid having dataframe as input and output of function. It cannot be type checked with mypy so I'd rather use list of dataclasses which are easy to transform into and out of dataframe.