课程评价 (0)

请对课程作出评价:
0/300

学员评价

暂无精选评价
6分钟

PeriodIndex的方法

PeriodIndex的方法有:(PeriodIndex继承自Index,因此它有Index的所有方法)

  • asfreq( freq=None, how='E'):转换成另一种频率的时间段
  • to_timestamp(self, freq=None, how='start'):转成DatetimeIndex
  • tz_convert(self, tz)/tz_localize(self, tz, infer_dst=False):转成对应时区的DatetimeIndex

任何Period的属性都可以作用于PeriodIndex