mirror of
https://github.com/vale981/ray
synced 2025-03-09 12:56:46 -04:00

Tests all snippets we have on ray.io. There were some minor issues, which I'll fix upstream. Signed-off-by: Max Pumperla <max.pumperla@googlemail.com>
10 lines
261 B
Python
10 lines
261 B
Python
import ray
|
|
|
|
# TODO: make this copy-paste-able
|
|
# read a local CSV file
|
|
csv_path = "path/to/file.csv"
|
|
ds = ray.data.read_csv(csv_path)
|
|
|
|
# read parquet from S3
|
|
parquet_path = "s3://ursa-labs-taxi-data/2019/06/data.parquet"
|
|
ds = ray.data.read_parquet(parquet_path)
|