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
Polars is a high-performance DataFrame library for Python, celebrated for its fast data processing capabilities and efficient, concise syntax. Its multi-threaded query engine and strong integration with the Python ecosystem make it an outstanding choice for managing large datasets. Polars has been gaining popularity as a fast and memory-efficient alternative to pandas, especially for big data applications.
While several libraries like scikit-learn and seaborn have added support for Polars DataFrames, I am not sure if imbalanced-learn currently requires users to directly use polars dataFrames or they need to convert Polars DataFrames to pandas (e.g., polars_df.to_pandas()) before applying the sampling methods.
I do see that imblearn depends upon polars and some APIs like set_output accept polars as parameter, it's unclear if imblearn APIs can directly work with polars dataframes
The text was updated successfully, but these errors were encountered:
kumar-abhishek
changed the title
Native Support for polars dataFrames in imbalanced-learn
Native support for polars dataFrames in imbalanced-learn
Sep 6, 2024
kumar-abhishek
changed the title
Native support for polars dataFrames in imbalanced-learn
Native support for polars dataframes in imbalanced-learn
Sep 6, 2024
Maybe someone could point out the necessary steps to get at least rudimentary functionality with polars dataframes. I would be willing to investigate implementing those. Thanks!
Polars is a high-performance DataFrame library for Python, celebrated for its fast data processing capabilities and efficient, concise syntax. Its multi-threaded query engine and strong integration with the Python ecosystem make it an outstanding choice for managing large datasets. Polars has been gaining popularity as a fast and memory-efficient alternative to pandas, especially for big data applications.
While several libraries like
scikit-learn
andseaborn
have added support for Polars DataFrames, I am not sure ifimbalanced-learn
currently requires users to directly usepolars
dataFrames or they need to convert Polars DataFrames to pandas (e.g., polars_df.to_pandas()) before applying the sampling methods.I do see that imblearn depends upon
polars
and some APIs like set_output acceptpolars
as parameter, it's unclear if imblearn APIs can directly work withpolars
dataframesThe text was updated successfully, but these errors were encountered: