Skip to content

Commit 3d3c9ee

Browse files
Added empty line after python imports
1 parent 0c90c31 commit 3d3c9ee

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/mllib-feature-extraction.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ for((synonym, cosineSimilarity) <- synonyms) {
169169
# grep -o -E '\w+(\W+\w+){0,15}' text8 > text8_lines
170170
# This was done so that the example can be run in local mode
171171

172+
import sys
173+
172174
from pyspark import SparkContext
173175
from pyspark.mllib.feature import Word2Vec
174176

examples/src/main/python/mllib/word2vec.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323

2424
import sys
25+
2526
from pyspark import SparkContext
2627
from pyspark.mllib.feature import Word2Vec
2728

0 commit comments

Comments
 (0)