0
推荐
1415
阅读

标准形式显示时间,抽出里边的年月或日,原来时间加10分钟

1.以标准形式显示时间:修改前:station$online_date %>% mdy()修改后:再试一下另一种:修改前:trip_starttime_shape <- trip$starttime %>% mdy_hm()修改后:2.抽出年月或日:(注意,这项操作必须建立在上一步之上,即必须先变成上述标准形式)小时:starttime_h <- hour(trip_starttime_shap...

发表了文章 • 2018-09-01 16:22 • 0 条评论