Skip to content

ENH make Random*Sampler accept dask array and dataframe #777

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
PEP8
  • Loading branch information
glemaitre committed Nov 5, 2020
commit 4960724378cc59ade14f27f34683f0f240162651
2 changes: 1 addition & 1 deletion imblearn/dask/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_type_of_target_error():
"y, expected_result",
[
(array.from_array(np.array([0, 1, 0, 1])), False),
(array(np.array([[1, 0], [0, 0]])), True),
(array.from_array(np.array([[1, 0], [0, 0]])), True),
(array.from_array(np.array([[1], [0], [0]])), False),
(array.from_array(np.array([[1, 0, 0]])), True),
]
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ addopts =
filterwarnings =
ignore:the matrix subclass:PendingDeprecationWarning

[flake8]
# Default flake8 3.5 ignored flags
ignore=E121,E123,E126,E226,E24,E704,W503,W504,E402