📜  numpy linspace of dates - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:28.682000             🧑  作者: Mango

代码示例1
import pandas as pd

start = pd.Timestamp('2015-07-01')
end = pd.Timestamp('2015-08-01')
t = np.linspace(start.value, end.value, 100)
t = pd.to_datetime(t)