Pandas时间索引疑问1
摘要:PeriodIndex引用问题 有一串PeriodIndex,如何将其当成索引来进一步提取dataframe中的值? 直接将PeriodIndex放入loc[]中会报错,而将PeriodIndex转为字符串列表,则只会提取特定某一天的值(PeriodIndex中是月的分辨率)。 如何解决???
阅读全文
posted @ 2021-04-02 15:11
posted @ 2021-04-02 15:11