Skip to content

Commit acde687

Browse files
authored
Modin docs reference added
Modin docs reference added
1 parent e23c074 commit acde687

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docs/en/predict_api.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,9 @@ One column must be named text and of string type or the first column will be use
270270

271271
```python
272272
import nlu
273-
import modin.pandas as mpd
273+
import modin.pandas as pd
274274
data = {"text": ['This day sucks', 'I love this day', 'I don't like Sami']}
275275
text_pdf = pd.DataFrame(data)
276-
text_sdf = nlu.spark.createDataFrame(text_pdf)
277-
nlu.load('sentiment').predict(text_sdf)
276+
nlu.load('sentiment').predict(text_pdf)
278277
```
279278

0 commit comments

Comments
 (0)