You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am using pandera for a project with polars. I noticed that, installing pandera, pandas is installed too, since it is a requirement for pandera. The impact is an increased build size of 80+MB (size of pandas, numpy and pyarrow packages) that polars do not need, as well as pandera when checking polars DataFrame. I tried to uninstall pandas manually with pip and, despite all the imports in my package are either pandera.polars or pandera.typing.polars, the runtime fails because pandas is not installed. This because, in the pandera __init__ file, it imports pandera.backends, that eventually imports pandas.
Describe the solution you'd like
I would like to use pandera with polars without installing pandas.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
One thing that might be interesting along these lines is the narwhals package.
I have not taken too much of a deep dive into it, but from what I've seen using their API could help build a unified back-end that doesn't require any one framework.
Is your feature request related to a problem? Please describe.
I am using pandera for a project with polars. I noticed that, installing pandera, pandas is installed too, since it is a requirement for pandera. The impact is an increased build size of 80+MB (size of pandas, numpy and pyarrow packages) that polars do not need, as well as pandera when checking polars DataFrame. I tried to uninstall pandas manually with pip and, despite all the imports in my package are either
pandera.polars
orpandera.typing.polars
, the runtime fails because pandas is not installed. This because, in the pandera__init__
file, it importspandera.backends
, that eventually importspandas
.Describe the solution you'd like
I would like to use pandera with polars without installing pandas.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: