[GitHub] spark pull request #15209: replace function type with function isinstance

2017-02-17 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/spark/pull/15209 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is ena

[GitHub] spark pull request #15209: replace function type with function isinstance

2016-09-22 Thread HyukjinKwon
Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/15209#discussion_r80180841 --- Diff: python/pyspark/ml/linalg/__init__.py --- @@ -101,7 +101,7 @@ def _vector_size(v): return len(v) elif type(v) in (array.arr

[GitHub] spark pull request #15209: replace function type with function isinstance

2016-09-22 Thread frankfqchen
GitHub user frankfqchen opened a pull request: https://github.com/apache/spark/pull/15209 replace function type with function isinstance ## What changes were proposed in this pull request? (Please fill in changes proposed in this fix) ## How was this patch test