Skip to content

Commit e32fa05

Browse files
committed
fix review
Signed-off-by: yaommen <myanstu@163.com>
1 parent f328596 commit e32fa05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/source/data/loading-data.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ Ray Data interoperates with libraries like pandas, NumPy, and Arrow.
478478
"food": ["spam", "ham", "eggs"],
479479
"price": [9.34, 5.37, 0.94]
480480
})
481+
df["food"] = df["food"].astype("string")
481482
ds = ray.data.from_pandas(df)
482483

483484
print(ds)

0 commit comments

Comments
 (0)