diff应该给出期望的结果:
>>> df.diff()count_a count_b2015-01-01 NaN NaN2015-01-02 38465 NaN2015-01-03 36714 NaN2015-01-04 35137 NaN2015-01-05 35864 NaN....2015-02-07 142390 255522015-02-08 126768 228352015-02-09 122324 21485
欢迎分享,转载请注明来源:内存溢出
diff应该给出期望的结果:
>>> df.diff()count_a count_b2015-01-01 NaN NaN2015-01-02 38465 NaN2015-01-03 36714 NaN2015-01-04 35137 NaN2015-01-05 35864 NaN....2015-02-07 142390 255522015-02-08 126768 228352015-02-09 122324 21485
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)