insightindustry / spss-converter

A simple utility that converts SPSS data to / from Pandas DataFrames, CSV, Excel, JSON, YAML, and dict.
https://spss-converter.readthedocs.io/en/latest/
MIT License
9 stars 4 forks source link

Question about pandas.to_excel() requirement #9

Closed annierfq01 closed 1 year ago

annierfq01 commented 2 years ago

if spss-converter depends on pandas and ya pandas doesn't include to_excel does this affect write.from_excel?

insightindustry commented 2 years ago

I'm not 100% certain I understand what you mean: If the version of Pandas that you are using does not include or support the DataFrame.to_excel() method, then it will prevent read.to_excel() from working properly. However, DataFrame.to_excel() is not used for write.from_excel(). However, write.from_excel() does rely on pandas.read_excel().

So if for some reason your Pandas does not have pandas.read_excel() then write.from_excel() will not work correctly.

Do I understand the concern correctly?

insightindustry commented 1 year ago

Closing due to inactivity.