Skip to content

[Data][Docs] Split "Consuming data" guide - #36121

Merged
amogkam merged 6 commits into
ray-project:masterfrom
bveeramani:split-consuming-data
Jun 8, 2023
Merged

amogkam merged 6 commits into
ray-project:masterfrom
bveeramani:split-consuming-data

Conversation

@bveeramani

@bveeramani bveeramani commented Jun 6, 2023 •

Copy link
Copy Markdown
Member

Why are these changes needed?

The "Consuming data" guide is long and contains several unrelated topics. For better discoverability, this PR splits "Consuming data" into three separate guides:

  • "Inspecting data"
  • "Iterating over data"
  • "Saving data"

Related issue number

Checks

Signed-off-by: Balaji Veeramani <[email protected]>
@bveeramani
bveeramani marked this pull request as draft June 6, 2023 17:18
Comment thread doc/source/data/saving-data.rst Outdated
Comment on lines +65 to +66
When you call a write method, Ray Data writes your data to one file per *block*. To
change the number of blocks, call :meth:`~ray.data.Dataset.repartition`.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't sure how to link "Inspecting data" here without making the sentence awkward

@amogkam amogkam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall looks good, left some comments

Comment thread doc/source/data/iterating-over-data.rst Resolved
Comment thread doc/source/data/iterating-over-data.rst Resolved
Comment thread doc/source/data/saving-data.rst Resolved
Comment thread doc/source/data/saving-data.rst Resolved
Comment thread doc/source/data/saving-data.rst Resolved
Comment thread doc/source/data/saving-data.rst Resolved

@amogkam amogkam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're missing the following consumption patterns:

  1. Converting to a different in-memory data format (to_pandas, to_spark, to_modin, etc.).
  2. Splitting and consuming the dataset

Comment thread doc/source/data/inspecting-data.rst Resolved
@bveeramani
bveeramani marked this pull request as ready for review June 7, 2023 20:50
Signed-off-by: Balaji Veeramani <[email protected]>
Comment thread doc/source/data/iterating-over-data.rst Resolved
Comment thread doc/source/data/inspecting-data.rst Resolved
Comment thread doc/source/data/inspecting-data.rst Resolved
Comment thread doc/source/data/inspecting-data.rst Resolved
Comment thread doc/source/data/inspecting-data.rst Resolved
Comment thread doc/source/data/inspecting-data.rst Resolved
Comment thread doc/source/data/iterating-over-data.rst Resolved
Comment thread doc/source/data/saving-data.rst Resolved
Comment thread doc/source/data/saving-data.rst Resolved
Comment thread doc/source/data/saving-data.rst Outdated
To save your :class:`~ray.data.dataset.Dataset` to cloud storage, authenticate all nodes
with your cloud service provider. Then, call a method like
:meth:`Dataset.write_parquet <ray.data.Dataset.write_parquet>` and specify a bucket or
folder URI.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what other cloud providers are supported?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just Azure, right? I've added a tab for Azure

Comment thread doc/source/data/saving-data.rst Resolved

@amogkam amogkam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good! just some minor comments

@bveeramani bveeramani mentioned this pull request Jun 7, 2023
9 tasks
@amogkam

amogkam commented Jun 8, 2023

Copy link
Copy Markdown
Contributor

@bveeramani I think you forgot to push the changes?

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: Balaji Veeramani <[email protected]>
@amogkam
amogkam merged commit 9270b4c into ray-project:master Jun 8, 2023
amogkam pushed a commit to amogkam/ray that referenced this pull request Jun 8, 2023
The "Consuming data" guide is long and contains several unrelated topics. For better discoverability, this PR splits "Consuming data" into three separate guides:

"Inspecting data"
"Iterating over data"
"Saving data"

---------

Signed-off-by: Balaji Veeramani <[email protected]>
amogkam added a commit that referenced this pull request Jun 9, 2023
#35749
#35751
#35753
#35755
#35757
#36018
#36105
#36121
#36144
#36145
#36162
#36124

---------

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: amogkam <[email protected]>
Signed-off-by: Amog Kamsetty <[email protected]>
Co-authored-by: Balaji Veeramani <[email protected]>
Co-authored-by: angelinalg <[email protected]>
Co-authored-by: Hao Chen <[email protected]>
amogkam added a commit to amogkam/ray that referenced this pull request Jun 9, 2023
amogkam added a commit that referenced this pull request Jun 9, 2023
* [Data] [Docs] Ray Data doc changes for 2.5 (#36224)

#35749
#35751
#35753
#35755
#35757
#36018
#36105
#36121
#36144
#36145
#36162
#36124

---------

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: amogkam <[email protected]>
Signed-off-by: Amog Kamsetty <[email protected]>
Co-authored-by: Balaji Veeramani <[email protected]>
Co-authored-by: angelinalg <[email protected]>
Co-authored-by: Hao Chen <[email protected]>
maxpumperla added a commit that referenced this pull request Jun 10, 2023
* [Data] [Docs] Ray Data doc changes for 2.5 (#36224)

#35749
#35751
#35753
#35755
#35757
#36018
#36105
#36121
#36144
#36145
#36162
#36124

---------

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: amogkam <[email protected]>
Signed-off-by: Amog Kamsetty <[email protected]>
Co-authored-by: Balaji Veeramani <[email protected]>
Co-authored-by: angelinalg <[email protected]>
Co-authored-by: Hao Chen <[email protected]>

* [docs] relax kapa loading scheme (#36201)

Signed-off-by: Max Pumperla <[email protected]>

* Revert "[Data] [Docs] Ray Data doc changes for 2.5 (#36224)"

This reverts commit 48a6c26.

---------

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: amogkam <[email protected]>
Signed-off-by: Amog Kamsetty <[email protected]>
Signed-off-by: Max Pumperla <[email protected]>
Co-authored-by: Amog Kamsetty <[email protected]>
Co-authored-by: Balaji Veeramani <[email protected]>
Co-authored-by: Hao Chen <[email protected]>
Co-authored-by: Max Pumperla <[email protected]>
arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
The "Consuming data" guide is long and contains several unrelated topics. For better discoverability, this PR splits "Consuming data" into three separate guides:

"Inspecting data"
"Iterating over data"
"Saving data"

---------

Signed-off-by: Balaji Veeramani <[email protected]>
Signed-off-by: e428265 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants