fix pipeline by updating dependancies
Blocking the version of pandas without pinning the version of matplotlib resulted in an incompatibility. However, the codebase was actually mostly compatible with pandas 2 besides some flaky tests based on warning messages.