Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-42642

Make Python the first code example tab in the Spark documentation

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0
    • Spark Core
    • None

    Description

      Python is the most approachable and most popular language so it should be the default language in code examples so this makes Python the first code example tab consistently across the documentation, where applicable.

      This is continuing the work started with:

      https://issues.apache.org/jira/browse/SPARK-42493

      where these two pages were updated:

      https://spark.apache.org/docs/latest/sql-getting-started.html

      https://spark.apache.org/docs/latest/sql-data-sources-load-save-functions.html

       

      Pages being updated now:

      https://spark.apache.org/docs/latest/ml-classification-regression.html

      https://spark.apache.org/docs/latest/ml-clustering.html

      https://spark.apache.org/docs/latest/ml-collaborative-filtering.html

      https://spark.apache.org/docs/latest/ml-datasource.html

      https://spark.apache.org/docs/latest/ml-features.html

      https://spark.apache.org/docs/latest/ml-frequent-pattern-mining.html

      https://spark.apache.org/docs/latest/ml-migration-guide.html

      https://spark.apache.org/docs/latest/ml-pipeline.html

      https://spark.apache.org/docs/latest/ml-statistics.html

      https://spark.apache.org/docs/latest/ml-tuning.html

       

      https://spark.apache.org/docs/latest/mllib-clustering.html

      https://spark.apache.org/docs/latest/mllib-collaborative-filtering.html

      https://spark.apache.org/docs/latest/mllib-data-types.html

      https://spark.apache.org/docs/latest/mllib-decision-tree.html

      https://spark.apache.org/docs/latest/mllib-dimensionality-reduction.html

      https://spark.apache.org/docs/latest/mllib-ensembles.html

      https://spark.apache.org/docs/latest/mllib-evaluation-metrics.html

      https://spark.apache.org/docs/latest/mllib-feature-extraction.html

      https://spark.apache.org/docs/latest/mllib-frequent-pattern-mining.html

      https://spark.apache.org/docs/latest/mllib-isotonic-regression.html

      https://spark.apache.org/docs/latest/mllib-linear-methods.html

      https://spark.apache.org/docs/latest/mllib-naive-bayes.html

      https://spark.apache.org/docs/latest/mllib-statistics.html

       

      https://spark.apache.org/docs/latest/quick-start.html

       

      https://spark.apache.org/docs/latest/rdd-programming-guide.html

       

      https://spark.apache.org/docs/latest/sql-data-sources-avro.html

      https://spark.apache.org/docs/latest/sql-data-sources-binaryFile.html

      https://spark.apache.org/docs/latest/sql-data-sources-csv.html

      https://spark.apache.org/docs/latest/sql-data-sources-generic-options.html

      https://spark.apache.org/docs/latest/sql-data-sources-hive-tables.html

      https://spark.apache.org/docs/latest/sql-data-sources-jdbc.html

      https://spark.apache.org/docs/latest/sql-data-sources-json.html

      https://spark.apache.org/docs/latest/sql-data-sources-parquet.html

      sql-data-sources-protobuf.html

      https://spark.apache.org/docs/latest/sql-data-sources-text.html

      https://spark.apache.org/docs/latest/sql-migration-guide.html

      https://spark.apache.org/docs/latest/sql-performance-tuning.html

      https://spark.apache.org/docs/latest/sql-ref-datatypes.html

       

      https://spark.apache.org/docs/latest/streaming-kinesis-integration.html

      https://spark.apache.org/docs/latest/streaming-programming-guide.html

       

      https://spark.apache.org/docs/latest/structured-streaming-kafka-integration.html

      https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

      Attachments

        1. Screenshot 2023-03-01 at 8.10.08 PM.png
          359 kB
          Allan Folting
        2. Screenshot 2023-03-01 at 8.10.22 PM.png
          74 kB
          Allan Folting

        Activity

          People

            afolting Allan Folting
            afolting Allan Folting
            Hyukjin Kwon Hyukjin Kwon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: