You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently pandas is a hard requirement for the library, however not necessarily used.
By delaying pandas import in src/databricks/sql/client.py from the top of the file to _convert_arrow_table method after the if self.connection.disable_pandas is True: condition it would be possible to make pandas an optional dependency.
I was able to run all the tests with this change flawlessly, as well as uninstalling pandas and then run the following:
Description
Currently pandas is a hard requirement for the library, however not necessarily used.
By delaying pandas import in
src/databricks/sql/client.py
from the top of the file to_convert_arrow_table
method after theif self.connection.disable_pandas is True:
condition it would be possible to make pandas an optional dependency.I was able to run all the tests with this change flawlessly, as well as uninstalling pandas and then run the following:
without any issue
The text was updated successfully, but these errors were encountered: