import pandas as pd
import numpy as np
s=pd.Series([1,3,6,np.nan,44,1])
print(s)
0 1.0
1 3.0
2 6.0
3 NaN
4 44.0
5 1.0
dtype: float64
進程已結束,退出代碼0
print(dates)#DatetimeIndex(['2022-07-01', '2022-07-02', '2022-07-03', '2022-07-04',
# '2022-07-05', '2022-07-06'],
# dtype='datetime64[ns]', freq='D')
明天再來