sotopia-lab / sotopia

Sotopia: an Open-ended Social Learning Environment (ICLR 2024 spotlight)
https://docs.sotopia.world
MIT License
127 stars 16 forks source link

[FEAT]: Remove Pandas dependency #82

Closed ProKil closed 2 weeks ago

ProKil commented 1 month ago

Description

Since pandas is widely used and often has other dependency restrictions, e.g. on Google Colab, we would encounter

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
cudf-cu12 24.4.1 requires pandas<2.2.2dev0,>=2.0, but you have pandas 2.2.2 which is incompatible.
google-colab 1.0.0 requires pandas==2.0.3, but you have pandas 2.2.2 which is incompatible.

which doesn't prevent us from install sotopia==0.0.7, but it is still annoying. The only use of pandas in our package is converting a dict of list into a csv file, which could be done with various other, even standard libraries.

Related to the plan mentioned in #80.

Additional Information

No response

XuhuiZhou commented 1 month ago

I agree