时间戳¶
时间戳功能在 pandas.Timestamp 中有详细文档。
pd.Timestamp时间戳pd.Timestamp.daypd.Timestamp.hourpd.Timestamp.microsecondpd.Timestamp.monthpd.Timestamp.nanosecondpd.Timestamp.secondpd.Timestamp.yearpd.Timestamp.dayofyearpd.Timestamp.day_of_yearpd.Timestamp.dayofweekpd.Timestamp.day_of_weekpd.Timestamp.days_in_monthpd.Timestamp.daysinmonthpd.Timestamp.is_leap_yearpd.Timestamp.is_month_startpd.Timestamp.is_month_endpd.Timestamp.is_quarter_startpd.Timestamp.is_quarter_endpd.Timestamp.is_year_startpd.Timestamp.is_year_endpd.Timestamp.quarterpd.Timestamp.weekpd.Timestamp.weekofyear第几周pd.Timestamp.valuepd.Timestamp.ceilpd.Timestamp.datepd.Timestamp.day_name星期名称pd.Timestamp.floorpd.Timestamp.isocalendarpd.Timestamp.isoformatpd.Timestamp.month_namepd.Timestamp.normalizepd.Timestamp.roundpd.Timestamp.strftimepd.Timestamp.toordinalpd.Timestamp.weekdaypd.Timestamp.now当前时间