例题2.37

例题2.37代码

import pandas as pd
import numpy as np
dates=pd.date_range(start='20191101',end='20191124',freq='D')
a1=pd.DataFrame(np.random.randn(24,4), index=dates, columns=list('ABCD'))
a2=pd.DataFrame(np.random.rand(24,4))
print(a1),print(a2)






posted @ 2024-10-22 22:08  等我刷把宗师  阅读(3)  评论(0编辑  收藏  举报