Skip to content

Commit

Permalink
print
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed May 25, 2024
1 parent 4515b6e commit 9544f67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py-polars/tests/unit/datatypes/test_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,5 +301,6 @@ def test_recursive_array_dtype() -> None:
def test_ndarray_construction() -> None:
a = np.arange(16).reshape((2, 4, -1))
s = pl.Series(a)
print(s.dtype)
assert s.dtype == pl.Array(pl.Int64, (4, 2))
assert (s.to_numpy() == a).all()

0 comments on commit 9544f67

Please sign in to comment.