py-why / dowhy

DoWhy is a Python library for causal inference that supports explicit modeling and testing of causal assumptions. DoWhy is based on a unified language for causal inference, combining causal graphical models and potential outcomes frameworks.
https://www.pywhy.org/dowhy
MIT License
7.01k stars 922 forks source link

Support for Pandas 2.x #936

Closed Zethson closed 1 year ago

Zethson commented 1 year ago

Currently dowhy pins Pandas to < 2.x

pandas = "^1.4.3" in pyproject.toml

Pandas 2.x is out and dowhy breaks environments/can't be installed in environments with pandas 2.x. I'd appreciate a quick fix and release.

emrekiciman commented 1 year ago

Thanks @Zethson, we'll take a look at this.

Zethson commented 1 year ago

@emrekiciman please excuse my ping, but is there any update already? This is preventing me from adding dowhy as a dependency to my project.

Zethson commented 1 year ago

If I see this right the only blocker is https://github.com/autogluon/autogluon/issues/3251 right?

Zethson commented 1 year ago

I have the impression that you're not using autogluon excessively, no? Would it be possible to move it to an optional dependency?

Zethson commented 1 year ago

Oh, autogluon is already an optional dependency. However, it's still being checked by poetry when creating the lockfile...

amit-sharma commented 1 year ago

963 fixes this