Fixes the following warnings from the source/examples/xgboost-data-databricks notebook.
F401 [*] `time.time` imported but unused
F401 [*] `pandas` imported but unused
F401 [*] `cupy` imported but unused
F401 [*] `cudf` imported but unused
F401 [*] `dask` imported but unused
F401 [*] `dask.dataframe` imported but unused
E501 Line too long (128 > 120)
F821 Undefined name `spark`
F821 Undefined name `spark`
F821 Undefined name `spark`
How I tested this
Searched through the notebook to double-check that there wasn't any commented-out code that would rely on these.
Contributes to #333.
Fixes the following warnings from the
source/examples/xgboost-data-databricks
notebook.How I tested this
Searched through the notebook to double-check that there wasn't any commented-out code that would rely on these.
Ran
pre-commit
withruff
configured to look at notebooks, to confirm these changes fixed those warnings (as described in https://github.com/rapidsai/deployment/issues/333#issuecomment-2066720309).