We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9591007 commit 9398743Copy full SHA for 9398743
1 file changed
examples/src/main/python/ml/index_to_string_example.py
@@ -29,7 +29,7 @@
29
30
# $example on$
31
df = sqlContext.createDataFrame(
32
- [(0, "a"), (1, "b"), (2, "c"), (3, "a"), (4, "a"), (5, "c") ],
+ [(0, "a"), (1, "b"), (2, "c"), (3, "a"), (4, "a"), (5, "c")],
33
["id", "category"])
34
35
stringIndexer = StringIndexer(inputCol="category", outputCol="categoryIndex")
0 commit comments