热线电话:13121318867

登录
2019-04-29 阅读量: 448
python创建日期范围并显示基本功能

创建日期范围并显示基本功能

# Create date and time with dataframe
data = pd.date_range('1/1/2011', periods = 10, freq ='H')

x = datetime.now()
x.month, x.year

输出:

(9,2018)
0.0000
5
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子