-
-
Notifications
You must be signed in to change notification settings - Fork 336
Add polars engine dtypes #1465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add polars engine dtypes #1465
Conversation
Signed-off-by: filipAisot <[email protected]>
e6a5a6f
to
f46fa9f
Compare
Signed-off-by: filipAisot <[email protected]>
Signed-off-by: filipAisot <[email protected]>
Signed-off-by: filipAisot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @FilipAisot and thanks for the review @AndriiG13 🚀
############################################################################### | ||
# Nested types | ||
############################################################################### |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this a placeholder comment for nested types? https://docs.pola.rs/py-polars/html/reference/datatypes.html#nested
Would this be implemented in a follow-up PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I wanted to first get the fundamental stuff in, now I will follow up with this.
* Add polars engine and dtypes. Signed-off-by: filipAisot <[email protected]> * Add polars dependency. Signed-off-by: filipAisot <[email protected]> * Fix polars tests for polars >= 0.20.0 Signed-off-by: filipAisot <[email protected]> * Fix polars engine. Add unittests for equivalence checks. Signed-off-by: filipAisot <[email protected]> --------- Signed-off-by: filipAisot <[email protected]>
* Add polars engine and dtypes. Signed-off-by: filipAisot <[email protected]> * Add polars dependency. Signed-off-by: filipAisot <[email protected]> * Fix polars tests for polars >= 0.20.0 Signed-off-by: filipAisot <[email protected]> * Fix polars engine. Add unittests for equivalence checks. Signed-off-by: filipAisot <[email protected]> --------- Signed-off-by: filipAisot <[email protected]>
* Add polars engine and dtypes. Signed-off-by: filipAisot <[email protected]> * Add polars dependency. Signed-off-by: filipAisot <[email protected]> * Fix polars tests for polars >= 0.20.0 Signed-off-by: filipAisot <[email protected]> * Fix polars engine. Add unittests for equivalence checks. Signed-off-by: filipAisot <[email protected]> --------- Signed-off-by: filipAisot <[email protected]>
* Add polars engine and dtypes. Signed-off-by: filipAisot <[email protected]> * Add polars dependency. Signed-off-by: filipAisot <[email protected]> * Fix polars tests for polars >= 0.20.0 Signed-off-by: filipAisot <[email protected]> * Fix polars engine. Add unittests for equivalence checks. Signed-off-by: filipAisot <[email protected]> --------- Signed-off-by: filipAisot <[email protected]>
* add stub classes Signed-off-by: Niels Bantilan <[email protected]> * Add polars engine dtypes (#1465) * Add polars engine and dtypes. Signed-off-by: filipAisot <[email protected]> * Add polars dependency. Signed-off-by: filipAisot <[email protected]> * Fix polars tests for polars >= 0.20.0 Signed-off-by: filipAisot <[email protected]> * Fix polars engine. Add unittests for equivalence checks. Signed-off-by: filipAisot <[email protected]> --------- Signed-off-by: filipAisot <[email protected]> * implement polars backend methods Signed-off-by: cosmicBboy <[email protected]> * implement methods for polars backend Signed-off-by: cosmicBboy <[email protected]> * implement data type coercion, strictness logic Signed-off-by: cosmicBboy <[email protected]> * implement add_missing_columns Signed-off-by: cosmicBboy <[email protected]> * implement core check methods Signed-off-by: cosmicBboy <[email protected]> * add dataframe model and components for polars Signed-off-by: cosmicBboy <[email protected]> * revert model component FieldInfo Signed-off-by: cosmicBboy <[email protected]> * fix core unit test regressions Signed-off-by: cosmicBboy <[email protected]> * implement generic DataFrameModel Signed-off-by: cosmicBboy <[email protected]> * move extract config logic into class definition Signed-off-by: cosmicBboy <[email protected]> * implement generic DataFrameModel Signed-off-by: cosmicBboy <[email protected]> * polars DataFrameModel uses new dataframe model api Signed-off-by: cosmicBboy <[email protected]> * simplify FieldInfo: decouple framework-specific model component Signed-off-by: cosmicBboy <[email protected]> * remove unused types Signed-off-by: cosmicBboy <[email protected]> * add more polars tests, clean-up pandas/polars api and backends Signed-off-by: cosmicBboy <[email protected]> * add more container and component checks Signed-off-by: cosmicBboy <[email protected]> * add polars component tests Signed-off-by: cosmicBboy <[email protected]> --------- Signed-off-by: Niels Bantilan <[email protected]> Signed-off-by: filipAisot <[email protected]> Signed-off-by: cosmicBboy <[email protected]> Co-authored-by: FilipAisot <[email protected]>
* Add polars engine and dtypes. Signed-off-by: filipAisot <[email protected]> * Add polars dependency. Signed-off-by: filipAisot <[email protected]> * Fix polars tests for polars >= 0.20.0 Signed-off-by: filipAisot <[email protected]> * Fix polars engine. Add unittests for equivalence checks. Signed-off-by: filipAisot <[email protected]> --------- Signed-off-by: filipAisot <[email protected]>
* add stub classes Signed-off-by: Niels Bantilan <[email protected]> * Add polars engine dtypes (#1465) * Add polars engine and dtypes. Signed-off-by: filipAisot <[email protected]> * Add polars dependency. Signed-off-by: filipAisot <[email protected]> * Fix polars tests for polars >= 0.20.0 Signed-off-by: filipAisot <[email protected]> * Fix polars engine. Add unittests for equivalence checks. Signed-off-by: filipAisot <[email protected]> --------- Signed-off-by: filipAisot <[email protected]> * implement polars backend methods Signed-off-by: cosmicBboy <[email protected]> * implement methods for polars backend Signed-off-by: cosmicBboy <[email protected]> * implement data type coercion, strictness logic Signed-off-by: cosmicBboy <[email protected]> * implement add_missing_columns Signed-off-by: cosmicBboy <[email protected]> * implement core check methods Signed-off-by: cosmicBboy <[email protected]> * add dataframe model and components for polars Signed-off-by: cosmicBboy <[email protected]> * revert model component FieldInfo Signed-off-by: cosmicBboy <[email protected]> * fix core unit test regressions Signed-off-by: cosmicBboy <[email protected]> * implement generic DataFrameModel Signed-off-by: cosmicBboy <[email protected]> * move extract config logic into class definition Signed-off-by: cosmicBboy <[email protected]> * implement generic DataFrameModel Signed-off-by: cosmicBboy <[email protected]> * polars DataFrameModel uses new dataframe model api Signed-off-by: cosmicBboy <[email protected]> * simplify FieldInfo: decouple framework-specific model component Signed-off-by: cosmicBboy <[email protected]> * remove unused types Signed-off-by: cosmicBboy <[email protected]> * add more polars tests, clean-up pandas/polars api and backends Signed-off-by: cosmicBboy <[email protected]> * add more container and component checks Signed-off-by: cosmicBboy <[email protected]> * add polars component tests Signed-off-by: cosmicBboy <[email protected]> --------- Signed-off-by: Niels Bantilan <[email protected]> Signed-off-by: filipAisot <[email protected]> Signed-off-by: cosmicBboy <[email protected]> Co-authored-by: FilipAisot <[email protected]>
* Add polars engine and dtypes. Signed-off-by: filipAisot <[email protected]> * Add polars dependency. Signed-off-by: filipAisot <[email protected]> * Fix polars tests for polars >= 0.20.0 Signed-off-by: filipAisot <[email protected]> * Fix polars engine. Add unittests for equivalence checks. Signed-off-by: filipAisot <[email protected]> --------- Signed-off-by: filipAisot <[email protected]>
* add stub classes Signed-off-by: Niels Bantilan <[email protected]> * Add polars engine dtypes (#1465) * Add polars engine and dtypes. Signed-off-by: filipAisot <[email protected]> * Add polars dependency. Signed-off-by: filipAisot <[email protected]> * Fix polars tests for polars >= 0.20.0 Signed-off-by: filipAisot <[email protected]> * Fix polars engine. Add unittests for equivalence checks. Signed-off-by: filipAisot <[email protected]> --------- Signed-off-by: filipAisot <[email protected]> * implement polars backend methods Signed-off-by: cosmicBboy <[email protected]> * implement methods for polars backend Signed-off-by: cosmicBboy <[email protected]> * implement data type coercion, strictness logic Signed-off-by: cosmicBboy <[email protected]> * implement add_missing_columns Signed-off-by: cosmicBboy <[email protected]> * implement core check methods Signed-off-by: cosmicBboy <[email protected]> * add dataframe model and components for polars Signed-off-by: cosmicBboy <[email protected]> * revert model component FieldInfo Signed-off-by: cosmicBboy <[email protected]> * fix core unit test regressions Signed-off-by: cosmicBboy <[email protected]> * implement generic DataFrameModel Signed-off-by: cosmicBboy <[email protected]> * move extract config logic into class definition Signed-off-by: cosmicBboy <[email protected]> * implement generic DataFrameModel Signed-off-by: cosmicBboy <[email protected]> * polars DataFrameModel uses new dataframe model api Signed-off-by: cosmicBboy <[email protected]> * simplify FieldInfo: decouple framework-specific model component Signed-off-by: cosmicBboy <[email protected]> * remove unused types Signed-off-by: cosmicBboy <[email protected]> * add more polars tests, clean-up pandas/polars api and backends Signed-off-by: cosmicBboy <[email protected]> * add more container and component checks Signed-off-by: cosmicBboy <[email protected]> * add polars component tests Signed-off-by: cosmicBboy <[email protected]> --------- Signed-off-by: Niels Bantilan <[email protected]> Signed-off-by: filipAisot <[email protected]> Signed-off-by: cosmicBboy <[email protected]> Co-authored-by: FilipAisot <[email protected]>
* Add polars engine and dtypes. Signed-off-by: filipAisot <[email protected]> * Add polars dependency. Signed-off-by: filipAisot <[email protected]> * Fix polars tests for polars >= 0.20.0 Signed-off-by: filipAisot <[email protected]> * Fix polars engine. Add unittests for equivalence checks. Signed-off-by: filipAisot <[email protected]> --------- Signed-off-by: filipAisot <[email protected]>
* add stub classes Signed-off-by: Niels Bantilan <[email protected]> * Add polars engine dtypes (#1465) * Add polars engine and dtypes. Signed-off-by: filipAisot <[email protected]> * Add polars dependency. Signed-off-by: filipAisot <[email protected]> * Fix polars tests for polars >= 0.20.0 Signed-off-by: filipAisot <[email protected]> * Fix polars engine. Add unittests for equivalence checks. Signed-off-by: filipAisot <[email protected]> --------- Signed-off-by: filipAisot <[email protected]> * implement polars backend methods Signed-off-by: cosmicBboy <[email protected]> * implement methods for polars backend Signed-off-by: cosmicBboy <[email protected]> * implement data type coercion, strictness logic Signed-off-by: cosmicBboy <[email protected]> * implement add_missing_columns Signed-off-by: cosmicBboy <[email protected]> * implement core check methods Signed-off-by: cosmicBboy <[email protected]> * add dataframe model and components for polars Signed-off-by: cosmicBboy <[email protected]> * revert model component FieldInfo Signed-off-by: cosmicBboy <[email protected]> * fix core unit test regressions Signed-off-by: cosmicBboy <[email protected]> * implement generic DataFrameModel Signed-off-by: cosmicBboy <[email protected]> * move extract config logic into class definition Signed-off-by: cosmicBboy <[email protected]> * implement generic DataFrameModel Signed-off-by: cosmicBboy <[email protected]> * polars DataFrameModel uses new dataframe model api Signed-off-by: cosmicBboy <[email protected]> * simplify FieldInfo: decouple framework-specific model component Signed-off-by: cosmicBboy <[email protected]> * remove unused types Signed-off-by: cosmicBboy <[email protected]> * add more polars tests, clean-up pandas/polars api and backends Signed-off-by: cosmicBboy <[email protected]> * add more container and component checks Signed-off-by: cosmicBboy <[email protected]> * add polars component tests Signed-off-by: cosmicBboy <[email protected]> --------- Signed-off-by: Niels Bantilan <[email protected]> Signed-off-by: filipAisot <[email protected]> Signed-off-by: cosmicBboy <[email protected]> Co-authored-by: FilipAisot <[email protected]>
* Add polars engine and dtypes. Signed-off-by: filipAisot <[email protected]> * Add polars dependency. Signed-off-by: filipAisot <[email protected]> * Fix polars tests for polars >= 0.20.0 Signed-off-by: filipAisot <[email protected]> * Fix polars engine. Add unittests for equivalence checks. Signed-off-by: filipAisot <[email protected]> --------- Signed-off-by: filipAisot <[email protected]>
* add stub classes Signed-off-by: Niels Bantilan <[email protected]> * Add polars engine dtypes (unionai-oss#1465) * Add polars engine and dtypes. Signed-off-by: filipAisot <[email protected]> * Add polars dependency. Signed-off-by: filipAisot <[email protected]> * Fix polars tests for polars >= 0.20.0 Signed-off-by: filipAisot <[email protected]> * Fix polars engine. Add unittests for equivalence checks. Signed-off-by: filipAisot <[email protected]> --------- Signed-off-by: filipAisot <[email protected]> * implement polars backend methods Signed-off-by: cosmicBboy <[email protected]> * implement methods for polars backend Signed-off-by: cosmicBboy <[email protected]> * implement data type coercion, strictness logic Signed-off-by: cosmicBboy <[email protected]> * implement add_missing_columns Signed-off-by: cosmicBboy <[email protected]> * implement core check methods Signed-off-by: cosmicBboy <[email protected]> * add dataframe model and components for polars Signed-off-by: cosmicBboy <[email protected]> * revert model component FieldInfo Signed-off-by: cosmicBboy <[email protected]> * fix core unit test regressions Signed-off-by: cosmicBboy <[email protected]> * implement generic DataFrameModel Signed-off-by: cosmicBboy <[email protected]> * move extract config logic into class definition Signed-off-by: cosmicBboy <[email protected]> * implement generic DataFrameModel Signed-off-by: cosmicBboy <[email protected]> * polars DataFrameModel uses new dataframe model api Signed-off-by: cosmicBboy <[email protected]> * simplify FieldInfo: decouple framework-specific model component Signed-off-by: cosmicBboy <[email protected]> * remove unused types Signed-off-by: cosmicBboy <[email protected]> * add more polars tests, clean-up pandas/polars api and backends Signed-off-by: cosmicBboy <[email protected]> * add more container and component checks Signed-off-by: cosmicBboy <[email protected]> * add polars component tests Signed-off-by: cosmicBboy <[email protected]> --------- Signed-off-by: Niels Bantilan <[email protected]> Signed-off-by: filipAisot <[email protected]> Signed-off-by: cosmicBboy <[email protected]> Co-authored-by: FilipAisot <[email protected]>
Description
This commit/PR includes the following enhancements and additions to Pandera with Polars support:
Accomplished:
Additional Information on Category Type:
Additional Information on Decimal Type:
Todos