Ajith Aravind
Ajith Aravind
Hey, I'm trying to the create models for [ms adaptive cards](https://adaptivecards.io/explorer/) ([schema here](https://adaptivecards.io/schemas/adaptive-card.json)) since the python sdk is not available yet. It causes circular imports for this schema too. Any...
Just bumping this thread. Any consensus how to proceed? Seem like the #1227 is stale.
I'm not a fan of this case `Union[Series[str], Series[float]]` from [this](https://github.com/unionai-oss/pandera/issues/1152#issuecomment-1499660502) comment, where the series would consists of only string or only float. Its very ambiguous, the output would sorta...
@cosmicBboy i took a quick stab at it adding this to [pandas_engine.py](https://github.com/unionai-oss/pandera/blob/main/pandera/engines/pandas_engine.py) ```py @Engine.register_dtype(equivalents=["int", pd.ArrowDtype(pyarrow.int64())]) @immutable class ArrowINT64(DataType, dtypes.Int): type = pd.ArrowDtype(pyarrow.int64()) bit_width: int = 64 @Engine.register_dtype(equivalents=["string", pd.ArrowDtype(pyarrow.string())]) @immutable class...
>pandera has taken the philosophy of "accept whatever pandas (or underlying dataframe library) accepts as dtypes thank you, that clears some confusion :) The suggestion for using `pyarrow.` does indeed...
@cosmicBboy could it be the uv cache is bugged? I remember seeing something similar a few weeks back. We could try cleaning the cache with `uv cache clean`.
@cosmicBboy created pr #1699 >I'll leave that to you and others in the community to prioritize :) Which ones are left that are currently unsupported? These types are compatible with...
@cosmicBboy any suggestions for fixing this test? [FAILED tests/core/test_pandas_engine.py::test_pandas_data_type_coerce[ArrowMap] - assert 0 > 0](https://github.com/unionai-oss/pandera/actions/runs/9723147115/job/26837913815?pr=1720#step:7:2561) It does appear to raise a `ParserError`, but the count is 0.
@cosmicBboy implementing a coerce value method fixed it. It was not able to get the failures cases.
Rebased and fixed all the failing tests :smile: There was this weird case where pandas 2.0.3 was sneaking in the nox `"tests(extra='core', pydantic='2.3.0', python='3.8', pandas='1.5.3')"` session. https://github.com/unionai-oss/pandera/actions/runs/9735487403/job/26864752599?pr=1720#step:7:133