def test_intersection_bug_1708(self):
from pandas import DateOffset
index_1 = date_range('1/1/2012', periods=4, freq='12H')
index_2 = index_1 + DateOffset(hours=1)
result = index_1 & index_2
self.assertEqual(len(result), 0)
test_timeseries.py 文件源码
python
阅读 38
收藏 0
点赞 0
评论 0
评论列表
文章目录