Skip to content

Commit

Permalink
Update source/platforms/databricks.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Tomlinson <[email protected]>
  • Loading branch information
skirui-source and jacobtomlinson authored Nov 13, 2023
1 parent e1b07b0 commit fa497fe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/platforms/databricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,9 @@ Connect to the dask client and submit tasks.

```python
from dask.distributed import Client
from dask_databricks import DatabricksCluster
import dask_databricks

cluster = DatabricksCluster()
client = Client(cluster)
client = dask_databricks.get_client()

def inc(x):
return x + 1
Expand Down

0 comments on commit fa497fe

Please sign in to comment.