We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7847923 commit bb693c7Copy full SHA for bb693c7
pandas/tests/series/test_constructors.py
@@ -418,8 +418,8 @@ def test_constructor_numpy_scalar(self):
418
# GH 19342
419
# construction with a numpy scalar
420
# should not raise
421
- result = Series(np.array(100), index=np.arange(4))
422
- expected = Series(100, index=np.arange(4))
+ result = Series(np.array(100), index=np.arange(4), dtype='int64')
+ expected = Series(100, index=np.arange(4), dtype='int64')
423
tm.assert_series_equal(result, expected)
424
425
def test_constructor_corner(self):
0 commit comments