Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs][hotfix] Correct the desc of nums of blocks #47741

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions python/ray/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -2956,7 +2956,7 @@ def write_parquet(
"""Writes the :class:`~ray.data.Dataset` to parquet files under the provided ``path``.

The number of files is determined by the number of blocks in the dataset.
To control the number of number of blocks, call
To control the number of blocks, call
:meth:`~ray.data.Dataset.repartition`.

If pyarrow can't represent your data, this method errors.
Expand Down Expand Up @@ -3060,7 +3060,7 @@ def write_json(
"""Writes the :class:`~ray.data.Dataset` to JSON and JSONL files.

The number of files is determined by the number of blocks in the dataset.
To control the number of number of blocks, call
To control the number of blocks, call
:meth:`~ray.data.Dataset.repartition`.

This method is only supported for datasets with records that are convertible to
Expand Down Expand Up @@ -3246,7 +3246,7 @@ def write_csv(
"""Writes the :class:`~ray.data.Dataset` to CSV files.

The number of files is determined by the number of blocks in the dataset.
To control the number of number of blocks, call
To control the number of blocks, call
:meth:`~ray.data.Dataset.repartition`.

This method is only supported for datasets with records that are convertible to
Expand Down Expand Up @@ -3368,7 +3368,7 @@ def write_tfrecords(
and will error if the dataset contains unsupported types.

The number of files is determined by the number of blocks in the dataset.
To control the number of number of blocks, call
To control the number of blocks, call
:meth:`~ray.data.Dataset.repartition`.

This method is only supported for datasets with records that are convertible to
Expand Down Expand Up @@ -3545,7 +3545,7 @@ def write_numpy(
NumPy arrays.

The number of files is determined by the number of blocks in the dataset.
To control the number of number of blocks, call
To control the number of blocks, call
:meth:`~ray.data.Dataset.repartition`.


Expand Down Expand Up @@ -3697,7 +3697,7 @@ def write_mongo(
This method is only supported for datasets convertible to pyarrow tables.

The number of parallel writes is determined by the number of blocks in the
dataset. To control the number of number of blocks, call
dataset. To control the number of blocks, call
:meth:`~ray.data.Dataset.repartition`.

.. warning::
Expand Down
Loading