8000 ENH add as_frame functionality for toy datasets (#15980) · scikit-learn/scikit-learn@ce91b6a · GitHub
[go: up one dir, main page]

Skip to content

Commit ce91b6a

Browse files
authored
ENH add as_frame functionality for toy datasets (#15980)
1 parent 8c8ea9e commit ce91b6a

File tree

4 files changed

+367
-73
lines changed

4 files changed

+367
-73
lines changed

doc/whats_new/v0.23.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ Changelog
8282
by :user:`Stephanie Andrews <gitsteph>` and
8383
:user:`Reshama Shaikh <reshamas>`.
8484

85+
- |Feature| embedded dataset loaders :func:`load_breast_cancer`,
86+
:func:`load_diabetes`, :func:`load_digits`, :func:`load_iris`,
87+
:func:`load_linnerud` and :func:`load_wine` now support loading as a pandas
88+
``DataFrame`` by setting `as_frame=True`. :pr:`15980` by :user:`wconnell` and
89+
:user:`Reshama Shaikh <reshamas>`.
90+
8591
- |Fix| :func:`datasets.make_multilabel_classification` now generates
8692
`ValueError` for arguments `n_classes < 1` OR `length < 1`.
8793
:pr:`16006` by :user:`Rushabh Vasani <rushabh-v>`.

0 commit comments

Comments
 (0)
0