sjmikler / progress-table

Display progress as a pretty table in the command line.
MIT License
90 stars 3 forks source link

[FEATURE] Pandas as an optional dependency #8

Closed naddeoa closed 6 months ago

naddeoa commented 9 months ago

It looks like pandas is only being used to export data from the table. It's a rather large dependency for a feature that I don't plan on using. Any opposition to making it an optional dependency and surrounding the import with an exception error message that tells you to install pandas if you want to export the table in pandas format?

sjmikler commented 6 months ago

Starting at 1.0.0, both Pandas and Numpy are optional dependencies. Whenever someone attempts to use to_numpy or to_df without appropriate library, an exception is raised.