Commit 94102f3
[MRG] EHN: Add support for pandas DataFrame and SparseDataFrame when loading (#548)
* EHN: add support for DataFrame when loading dataset
* MAINT: add pandas as dependency
* FIX: typo in setup
* TST: add unit test for checking pandas and numpy
* FIX: back-compatibility defaulting on float 32
* PEP8
* FIX: transform y to integer if a category for back-compat
* PEP8
* DOC: add example
* TST: remove useless tests
* iter
* iter
* iter
* EHN: partially address mfeurer comments
* FIX: append column and concat
* simplify
* FIX: add back missing test files
* CLEAN: remove new useless pkl
* FIX: revert backward compatibility
* PEP8
* PEP8
* fix
* TST: ensure behavior of ignore_attribute
* TST: add test for SparseDataFrame
* raise FutureWarning and avoid warning in testing
* EHN: interpret propely the boolean type
* FIX typo
* PEP8
* MAINT: show slowest tests
* FIX: avoid reallocation in a loop with pandas
* fix typo
* fixes1 parent 9c74931 commit 94102f3
7 files changed
Lines changed: 433 additions & 111 deletions
File tree
- ci_scripts
- examples
- openml
- datasets
- tasks
- tests/test_datasets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 | | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
67 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
68 | 80 | | |
69 | 81 | | |
70 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
0 commit comments