Question about column-level linting #1350
Replies: 1 comment
-
Great questions @mattfishburn! short answer: no one has built a working prototype of this functionality yet. As far as I know the challenges around this is that This related to the fact that, unlike say pydantic Models, which are effectively python objects, pandera Models are simply classes containing metadata about a dataframe, not dataframes themselves. If you (or a future reader of this post) can create a working prototype of this in pandera that would be 🔥, would definitely support this effort. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm trying to understand if there is a technical reason that column-level linting does not exist, or if it could exist but doesn't for any reason (no one has asked for it, no one has implemented it, it's outside the bounds of pandera, etc.). For the code below the line
validated_df.identifier + 'abc'
could have a similar mypy error to the line1 + 'abc'
, but it does not. Is there a technical reason that this is impossible? Or is there another reason that pandera doesn't support it? I'm using pandera version 0.16.Thanks,
Matt
P.S. pandera is great, thank you for creating it!
Beta Was this translation helpful? Give feedback.
All reactions