-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[Data][Docs] Code snippet in "Saving Data" doesn't work #52534
Copy link
Copy link
Closed
Labels
community-backlogdataRay Data-related issuesRay Data-related issuesdocsAn issue or change related to documentationAn issue or change related to documentationgood-first-issueGreat starter issue for someone just starting to contribute to RayGreat starter issue for someone just starting to contribute to Ray
Description
Description
In the "Changing the number of output files" section of "Saving Data", if you try running the snippet below, you get an error:
import os
import ray
ds = ray.data.read_csv("s3://anonymous@ray-example-data/iris.csv")
ds.write_csv("/tmp/few_files/", min_rows_per_write=75)
print(os.listdir("/tmp/few_files/"))...
TypeError: write_csv() got an unexpected keyword argument 'min_rows_per_write'
Link
https://docs.ray.io/en/latest/data/saving-data.html#changing-the-number-of-output-files
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
community-backlogdataRay Data-related issuesRay Data-related issuesdocsAn issue or change related to documentationAn issue or change related to documentationgood-first-issueGreat starter issue for someone just starting to contribute to RayGreat starter issue for someone just starting to contribute to Ray