Skip to content
Snippets Groups Projects
  • Xiangrui Meng's avatar
    1ecfac6e
    [SPARK-6657] [PYSPARK] Fix doc warnings · 1ecfac6e
    Xiangrui Meng authored
    Fixed the following warnings in `make clean html` under `python/docs`:
    
    ~~~
    /Users/meng/src/spark/python/pyspark/mllib/evaluation.py:docstring of pyspark.mllib.evaluation.RankingMetrics.ndcgAt:3: ERROR: Unexpected indentation.
    /Users/meng/src/spark/python/pyspark/mllib/evaluation.py:docstring of pyspark.mllib.evaluation.RankingMetrics.ndcgAt:4: WARNING: Block quote ends without a blank line; unexpected unindent.
    /Users/meng/src/spark/python/pyspark/mllib/fpm.py:docstring of pyspark.mllib.fpm.FPGrowth.train:3: ERROR: Unexpected indentation.
    /Users/meng/src/spark/python/pyspark/mllib/fpm.py:docstring of pyspark.mllib.fpm.FPGrowth.train:4: WARNING: Block quote ends without a blank line; unexpected unindent.
    /Users/meng/src/spark/python/pyspark/sql/__init__.py:docstring of pyspark.sql.DataFrame.replace:16: WARNING: Field list ends without a blank line; unexpected unindent.
    /Users/meng/src/spark/python/pyspark/streaming/kafka.py:docstring of pyspark.streaming.kafka.KafkaUtils.createRDD:8: ERROR: Unexpected indentation.
    /Users/meng/src/spark/python/pyspark/streaming/kafka.py:docstring of pyspark.streaming.kafka.KafkaUtils.createRDD:9: WARNING: Block quote ends without a blank line; unexpected unindent.
    ~~~
    
    davies
    
    Author: Xiangrui Meng <meng@databricks.com>
    
    Closes #6221 from mengxr/SPARK-6657 and squashes the following commits:
    
    e3f83fe [Xiangrui Meng] fix sql and streaming doc warnings
    2b4371e [Xiangrui Meng] fix mllib python doc warnings
    1ecfac6e
    History
    [SPARK-6657] [PYSPARK] Fix doc warnings
    Xiangrui Meng authored
    Fixed the following warnings in `make clean html` under `python/docs`:
    
    ~~~
    /Users/meng/src/spark/python/pyspark/mllib/evaluation.py:docstring of pyspark.mllib.evaluation.RankingMetrics.ndcgAt:3: ERROR: Unexpected indentation.
    /Users/meng/src/spark/python/pyspark/mllib/evaluation.py:docstring of pyspark.mllib.evaluation.RankingMetrics.ndcgAt:4: WARNING: Block quote ends without a blank line; unexpected unindent.
    /Users/meng/src/spark/python/pyspark/mllib/fpm.py:docstring of pyspark.mllib.fpm.FPGrowth.train:3: ERROR: Unexpected indentation.
    /Users/meng/src/spark/python/pyspark/mllib/fpm.py:docstring of pyspark.mllib.fpm.FPGrowth.train:4: WARNING: Block quote ends without a blank line; unexpected unindent.
    /Users/meng/src/spark/python/pyspark/sql/__init__.py:docstring of pyspark.sql.DataFrame.replace:16: WARNING: Field list ends without a blank line; unexpected unindent.
    /Users/meng/src/spark/python/pyspark/streaming/kafka.py:docstring of pyspark.streaming.kafka.KafkaUtils.createRDD:8: ERROR: Unexpected indentation.
    /Users/meng/src/spark/python/pyspark/streaming/kafka.py:docstring of pyspark.streaming.kafka.KafkaUtils.createRDD:9: WARNING: Block quote ends without a blank line; unexpected unindent.
    ~~~
    
    davies
    
    Author: Xiangrui Meng <meng@databricks.com>
    
    Closes #6221 from mengxr/SPARK-6657 and squashes the following commits:
    
    e3f83fe [Xiangrui Meng] fix sql and streaming doc warnings
    2b4371e [Xiangrui Meng] fix mllib python doc warnings