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 733daf1 commit b736e83Copy full SHA for b736e83
pandas/tests/test_algos.py
@@ -1254,7 +1254,7 @@ def test_value_counts_nat(self):
1254
result_dt = algos.value_counts_internal(dt)
1255
tm.assert_series_equal(result_dt, exp_dt)
1256
1257
- exp_td = Series({np.timedelta64(10000): 1}, name="count")
+ exp_td = Series([1], index=[np.timedelta64(10000)], name="count")
1258
result_td = algos.value_counts_internal(td)
1259
tm.assert_series_equal(result_td, exp_td)
1260
0 commit comments