[ https://issues.apache.org/jira/browse/SPARK-42642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Allan Folting updated SPARK-42642: ---------------------------------- 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.md [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] was: Python is the most approachable and most popular language so it should be the default language in code examples. Continuing the work started with: https://issues.apache.org/jira/browse/SPARK-42493 Making Python the first code example tab consistently across the documentation, where applicable. Pages being updated: [https://spark.apache.org/docs/latest/rdd-programming-guide.html] [https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html] [https://spark.apache.org/docs/latest/streaming-programming-guide.html] [https://spark.apache.org/docs/latest/ml-statistics.html] [https://spark.apache.org/docs/latest/ml-datasource.html] [https://spark.apache.org/docs/latest/ml-pipeline.html] [https://spark.apache.org/docs/latest/ml-features.html] [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-frequent-pattern-mining.html] [https://spark.apache.org/docs/latest/ml-tuning.html] [https://spark.apache.org/docs/latest/ml-migration-guide.html] [https://spark.apache.org/docs/latest/mllib-data-types.html] [https://spark.apache.org/docs/latest/mllib-statistics.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-decision-tree.html] [https://spark.apache.org/docs/latest/mllib-ensembles.html] [https://spark.apache.org/docs/latest/mllib-isotonic-regression.html] [https://spark.apache.org/docs/latest/mllib-collaborative-filtering.html] [https://spark.apache.org/docs/latest/mllib-clustering.html] [https://spark.apache.org/docs/latest/mllib-dimensionality-reduction.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-evaluation-metrics.html] [https://spark.apache.org/docs/latest/quick-start.html] > Make Python the first code example tab > -------------------------------------- > > Key: SPARK-42642 > URL: https://issues.apache.org/jira/browse/SPARK-42642 > Project: Spark > Issue Type: Documentation > Components: Spark Core > Affects Versions: 3.5.0 > Reporter: Allan Folting > Priority: Major > Attachments: Screenshot 2023-03-01 at 8.10.08 PM.png, Screenshot > 2023-03-01 at 8.10.22 PM.png > > > 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.md > [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] > > > > > > > > > > > > > > > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org