Comments (6)
this is a bug! looking into it
from pandera.
Okay, so this should fix it:
from pandera.api.polars.types import PolarsData
...
CoreCheckResult(
passed=schema.dtype.check(
obj_dtype,
PolarsData(check_obj_subset, schema.selector),
),
...
)
Would you be able to open up a PR with some unit tests?
from pandera.
Yes, I will be happy to do so later this evening. Thank you very much
from pandera.
@cosmicBboy I have created the pr for this change.
#1622
Please let me know if you would like any changes.
Thank you
from pandera.
Apologies if you clicked that while it was deleted, recreated to address the signoff requirement #1623
from pandera.
fixed by #1623
from pandera.
Related Issues (20)
- Adding missing columns with a string default
- Scalar return for check in polars-backed model fails on validation with `lazy=True`
- Setting `coerce` on a column causes the column to be `required` when `required=False` HOT 1
- Support Data synthesis strategies for polars
- Polars checks not being evaluated correctly HOT 1
- Pyinstaller build fails when using pydantic version 2.*
- `dataframe_parser`s that rename columns conflict with type coercion
- Wrong JSON output from `SchemaErrors.message`
- Is it possible to create a check function that accepts additional arguments?
- Why is pa.String returned as 'str' instead of 'string' when used with Columns? HOT 2
- BackendNotFoundError on databricks/pyspark cluster
- Example on how to use Decimal as dtype for a column
- Feat: Adding more pyarrow types to pandas engine
- Pydantic compatibility issue HOT 1
- pyspark_sql docs run time error
- Reusing Field objects causes unexpected failure
- Mypy type hinting error for direct column type annotations
- COERCION_ERRORS will not support `polars=1.0.0`
- Deprecation warning on `with_context`
- `@pa.parser` does not work for Index fields
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pandera.