Niels Bantilan

Results 468 comments of Niels Bantilan
trafficstars

Care to provide additional detail and a proposal? E.g. what can be removed and what part of the codebase would need to be refactored?

Happy to support work on making pandera more light-weight. @ulfaslakprecis any appetite for contributing to pandera as opposed to building + maintaining a brand new project?

Also wanted to better-understand the issue here. The items listed in the [dependency graph](https://github.com/unionai-oss/pandera/network/dependencies) are not necessarily what you get when you `pip install pandera`. The dependencies listed there are...

> @GOGKI just so I understand this, do you only need to install core pandera when you need to productionize your code? What unexpected/unwanted dependencies do you get? same question...

@z4m0 see https://github.com/unionai-oss/pandera/pull/1563

@ulfaslakprecis any comments on https://github.com/unionai-oss/pandera/issues/1365#issuecomment-1998095351? If not gonna close this issue in the next few days. Created - https://github.com/unionai-oss/pandera/issues/1576 - https://github.com/unionai-oss/pandera/issues/1577 To capture slimming down the dependencies of a bare...

A basic version of this is already done by the `check_types` decorator 😃 see [here](https://github.com/unionai-oss/pandera/blob/ceeae10f0fcca5f34de99d5e1c107ddacff51b73/pandera/decorators.py#L652-L658): - Every time `schema.validate` is called, a [`DataFrame.pandera.add_schema`](https://github.com/unionai-oss/pandera/blob/main/pandera/backends/pandas/container.py#L68) is invoked to add a schema to...

Looks like this is an issue with the way pandera strategies tries to chain together multiple checks, e.g. ```python schema = DataFrameSchema( { "column1": Column(int, Check.ge(0)), "column2": Column(int, [Check.in_range(1, 100)]),...

Okay, so it seems like generating smaller dataframes yields higher entropy results: ```python print(schema.example(size=5)) # generates different datasets column1 column2 column3 column4 0 152 1 9.007199e+15 BBB 1 9223372036854775807 1...