Skip to content

Commit

Permalink
Fix dask API sphinx docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
RAMitchell committed May 27, 2019
1 parent 3f7e5d9 commit 6971f1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python-package/xgboost/dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def _start_tracker(n_workers):
def get_local_data(data):
"""
Unpacks a distributed data object to get the rows local to this worker
:param data: A distributed dask data object
:return: Local data partition e.g. numpy or pandas
"""
Expand Down Expand Up @@ -107,6 +108,7 @@ def run(client, func, *args):
dask by default, unless the user overrides the nthread parameter.
Note: Windows platforms are not officially supported. Contributions are welcome here.
:param client: Dask client representing the cluster
:param func: Python function to be executed by each worker. Typically contains xgboost
training code.
Expand Down

0 comments on commit 6971f1b

Please sign in to comment.