`pandas` is imported but it is not marked as a dependency
Bo98 opened this issue · 2 comments
Bo98 commented
It is imported unconditionally here:
Since it's only used in one place, it could be made an optional dependency by moving it into the load_json
. pandas
is an optional dependency in both pyarrow
and influxdb-client
(v2).
Otherwise, the alternative would be to make it mandatory dependency:
Line 39 in 9824b94
Bo98 commented
Jayclifford345 commented
Hi @Bo98,
Many thanks for the suggestion! This was my oversite. To keep the Client slim I have included it as an optional dependency and included some error handling for utilities which require pandas. Such as the write_file()