diff()函数
摘要:1 diff()是将原来的数据减去移动后的数据. 在numpy和pandas中都能调用. pandas的调用方法: import pandas as pd df = pd.DataFrame( {'a':[1,2,3,4,5], 'b':[6,7,8,9,10], 'c':[11,12,13,14,
阅读全文
posted @ 2019-09-30 21:26
posted @ 2019-09-30 21:26
posted @ 2019-09-26 20:06
posted @ 2019-09-26 10:25
posted @ 2019-09-25 22:00
posted @ 2019-09-21 14:32
posted @ 2019-09-17 13:55
posted @ 2019-09-09 14:01