We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4096733 commit a420653Copy full SHA for a420653
pandas/tests/construction/test_object_to_bool_array.py
@@ -0,0 +1,8 @@
1
+import pandas._testing as tm
2
+import numpy as np
3
+from pandas.core.construction import array as array_test
4
+
5
+def test_object_to_bool_array():
6
+ array1 = array_test(np.array([True, False]), dtype="Int64")
7
+ array2 = array_test(np.array([True, False], dtype=object), dtype="Int64")
8
+ tm.assert_numpy_array_equal(array1, array2)
0 commit comments