我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

有关时间字符串类型转换 此处问题出在哪里?

图片说明图片说明
希望得到指点谢谢!

不知道你用的 pandas 是什么版本的:
https://github.com/pandas-dev/pandas/blob/v0.23.4/pandas/core/indexes/period.py#L125-L1131

这个版本的 period.py 文件中没有找到你的这个异常。

建议:首先,用第一个 DateTimeIndex ,调用 dt_index.to_period('S') 测测结果。

我推测可能是 data 和 freq 参数使用冲突导致的,data 参数是选填的,把 freq='S' 去掉试试。

近期文章

  • ElasticSearch 6.3.2版本整合springBoot 报错 java.io.StreamCorruptedException: invalid internal transport message format, got (48,54,54,50)
  • 编译器说倒数第三行有错....
  • python selesium 怎样下载图中的文件?
  • The Little Girl who Picks Mushrooms 具体的实现
  • 小白求助,u盘便携系统速度过慢
  • Bit Magic 怎么实现呢
  • The Little Girl who Picks Mushrooms
  • Simple Function怎么实现呢
  • Colourful Rectangle 矩形颜色问题
  • Super Mario 怎么实现呢
  • The Little Girl who Picks Mushrooms 字符串问题
  • Good Article Good sentence 怎么处理的
  • Conquer a New Region 怎么写得程序
  • Palindromic Substring 字符串的问题
  • Split the Rectangle 怎么做呢
  • Polaris of Pandora 程序的解决
  • Sum of divisors 程序的问题
  • locker 程序的设计
  • Yukari's Birthday 生日的计算问题
  • str2int 字符串转换的问题

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华