chaquo/chaquopy

Update Pandas

rbebb opened this issue · 10 comments

It would be awesome to have the latest version of Pandas for each version of Python. If only one version of Python can be supported though, I’d say Python 3.11 would be the most beneficial.

As you can see from the repository, we currently provide version 2.1.3 for Python 3.12, which is less than a year old. Are you able to use this? If not, please explain why.

@mhsmith Unfortunately, the other packages I need do not have Python 3.12 wheels available, but most have a 3.11 wheel available.

@mhsmith Creating a wheel for 2.1.3 for Python 3.11 would suffice. Although, if it is possible to get a newer version, then I’d say 2.2.1 would be best because that’s the last version that lets you use numpy versions before 2.0.

the other packages I need do not have Python 3.12 wheels available, but most have a 3.11 wheel available

Which packages specifically?

Which packages specifically?

Packages without 3.12 wheels: Shapely, SciPy, aiohttp

You should check the repository more carefully. aiohttp is available for Python 3.12, while scipy and shapely are not available for 3.11 or 3.12.

So would the simplest solution actually be to have a newer Pandas wheel for Python 3.10?

My mistake regarding aiohttp! Looks like I missed that!

Also, my goal is to upgrade to Python 3.11 or higher (so a wheel for 3.11 or 3.12 would be ideal).

Unless someone contributes a recipe, we're not planning to add shapely or scipy for Python 3.11 or higher for at least the next few months, so if you need those packages you would need to stay on Python 3.10.

Our current pandas version for Python 3.10 is 1.5.0. Why specifically do you need a newer version than that?

Pandas version 2.1.3 is now available for Python 3.9 - 3.13.

Thank you so much @mhsmith!