sparkxgb is a Python wrapper for XGBoost on Apache Spark, providing integration utilities for distributed training and prediction on Spark DataFrames. Version 0.4 is stable but infrequently updated; rely on official XGBoost Spark integration for newer APIs.
pip install sparkxgbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Train an XGBoost classifier on a Spark DataFrame with feature vector column.
Downgrade PySpark to 2.4.x or use XGBoost's built-in Spark integration (xgboost >=1.7).
Replace imports: from xgboost.spark import SparkXGBClassifier
Always use VectorAssembler to create the 'features' column: from pyspark.ml.feature import VectorAssembler; assembler = VectorAssembler(inputCols=[...], outputCol='features')