-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- still not able to produce daft logs (located inside of `/tmp/ray/session_*/logs/daft`) - only ray logs are being produced - this should be fine for now?
- Loading branch information
Raunak Bhagat
committed
Nov 23, 2024
1 parent
b6d8326
commit 67645b0
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
import daft | ||
|
||
daft.context.set_runner_ray("ray://localhost:10001") | ||
|
||
df = daft.from_pydict({"nums": [1, 2, 3]}) | ||
df = df.with_column("result", daft.col("nums").cbrt()).collect() | ||
df.show() |