Skip to content

Commit

Permalink
[ci][python] apply isort to python-package/lightgbm/dask.py #3958 (#3969
Browse files Browse the repository at this point in the history
)
  • Loading branch information
zyxue authored Feb 15, 2021
1 parent eda1eff commit 3b54700
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions python-package/lightgbm/dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,14 @@
import numpy as np
import scipy.sparse as ss

from .basic import _choose_param_value, _ConfigAliases, _LIB, _log_warning, _safe_call, LightGBMError
from .compat import (PANDAS_INSTALLED, pd_DataFrame, pd_Series, concat,
SKLEARN_INSTALLED, LGBMNotFittedError,
DASK_INSTALLED, dask_DataFrame, dask_Array, dask_Series, delayed, Client, default_client, get_worker, wait)
from .sklearn import (
_lgbmmodel_doc_fit,
_lgbmmodel_doc_predict,
LGBMClassifier,
LGBMModel,
LGBMRegressor,
LGBMRanker
)
from .basic import (_LIB, LightGBMError, _choose_param_value, _ConfigAliases,
_log_warning, _safe_call)
from .compat import (DASK_INSTALLED, PANDAS_INSTALLED, SKLEARN_INSTALLED,
Client, LGBMNotFittedError, concat, dask_Array,
dask_DataFrame, dask_Series, default_client, delayed,
get_worker, pd_DataFrame, pd_Series, wait)
from .sklearn import (LGBMClassifier, LGBMModel, LGBMRanker, LGBMRegressor,
_lgbmmodel_doc_fit, _lgbmmodel_doc_predict)

_DaskCollection = Union[dask_Array, dask_DataFrame, dask_Series]
_DaskMatrixLike = Union[dask_Array, dask_DataFrame]
Expand Down

0 comments on commit 3b54700

Please sign in to comment.