{"library":"sklearndf","title":"sklearndf","description":"Data frame support and feature traceability for scikit-learn. Version 2.4.2 supports Python >=3.9, <4 and integrates with scikit-learn 1.6+. Release cadence is irregular, with recent minor versions every few months.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install sklearndf"],"cli":null},"imports":["from sklearndf.transformation import EstimatorWrapperDF","from sklearndf.classification import ClassifierDF"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from sklearn.datasets import load_iris\nfrom sklearn.tree import DecisionTreeClassifier\nfrom sklearndf.classification import ClassifierDF\n\ndata = load_iris(as_frame=True)\nX, y = data.data, data.target\n\nclf = ClassifierDF(DecisionTreeClassifier())\nclf.fit(X, y)\nprint(clf.feature_names_in_)\nprint(clf.predict(X[:5]))","lang":"python","description":"Creates a DecisionTreeClassifier with sklearndf wrapper, fits on iris DataFrame, and prints feature names and predictions.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}