We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f3a7b8 commit 2a53113Copy full SHA for 2a53113
pandas/tests/test_format.py
@@ -3498,7 +3498,7 @@ def test_mixed_datetime64(self):
3498
def test_period(self):
3499
# GH 12615
3500
index = pd.period_range('2013-01', periods=6, freq='M')
3501
- s = Series(np.arange(6), index=index)
+ s = Series(np.arange(6, dtype='int64'), index=index)
3502
exp = ("2013-01 0\n2013-02 1\n2013-03 2\n2013-04 3\n"
3503
"2013-05 4\n2013-06 5\nFreq: M, dtype: int64")
3504
self.assertEqual(str(s), exp)
0 commit comments