Comments (1)
I am currently working on a fix for this and discovered some additional cases which are missed:
*args
are not passed in correctly -- they are passed into the function as an extra-nested tuple (instead of(1,2,3)
the function receives((1,2,3))
- both
*args
and**kwargs
with typehints are not checked sinceargs
will always be a tuple andkwargs
will always be a dictionary- Any function defined like
def func(arg1: int, *args: DataFrame[Schema1], **kwargs: DataFrame[Schema2]):
will not be checked - Although, this is probably not a very common use-case...
- Any function defined like
from pandera.
Related Issues (20)
- Cannot call `get_metadata` on a DataFrameModel if there is a Config without a metadata attribute
- NaNs in boolean column coerced to True, nullable and default parameters are ignored
- Pandera is very slow to import when optional dependencies are installed HOT 2
- Missing `reason_code` when using custom checks with PySpark dataframes HOT 1
- Finite values in `pl.DataFrame` HOT 2
- Optional import hypotheses doesn't install hypothesis HOT 3
- Custom Check Methods don't support custom error (any more)
- Unexpected behavior when validating date objects. pandera=0.19.1
- Compatibility issues with Pandas HOT 3
- pandera not compatible with numpy 2.0 HOT 2
- `SchemaFieldNotFoundError` with custom check function if no alias is provided.
- 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
- 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?
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.