forked from Bears-R-Us/arkouda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…ears-R-Us#3715) * Closes Bears-R-Us#3709: reshape to return a multi-dimensional array Co-authored-by: drculhane <drculhane@users.noreply.github.com> * remove order argument --------- Co-authored-by: Amanda Potts <ajpotts@users.noreply.github.com> Co-authored-by: drculhane <drculhane@users.noreply.github.com>
- Loading branch information
1 parent
e08b0db
commit 2205c45
Showing
7 changed files
with
33 additions
and
657 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import pytest | ||
|
||
import arkouda as ak | ||
|
||
|
||
class TestPdarrayClass: | ||
|
||
@pytest.mark.skip_if_max_rank_less_than(3) | ||
def test_reshape(self): | ||
a = ak.arange(4) | ||
r = a.reshape((2, 2)) | ||
assert r.shape == [2, 2] | ||
assert isinstance(r, ak.pdarray) |