Switches from using Union[pd.DataFrame, pl.DataFrame] in the input and output type signatures to using TypeVar(pd.DataFrame, pl.DataFrame) so that if a function gets pandas as input the inferred output type is also pandas. Same for polars.
This helps the most when coding in an editor with a linter on.
Fixes #115
Switches from using
Union[pd.DataFrame, pl.DataFrame]
in the input and output type signatures to usingTypeVar(pd.DataFrame, pl.DataFrame)
so that if a function gets pandas as input the inferred output type is also pandas. Same for polars.This helps the most when coding in an editor with a linter on. Fixes #115