有点天真的问题。我想创建一个以小时分辨率(8760值)为单位的完整日历年的dataframe。我如何操作教程中的以下几行来提取上一年的数据。 start = pd.Timestamp(datetime.date.today(), tz=time_zone) #used for testing
end = start + pd.Timedelta(days=365) #to get all day
LocalDateTime.parse("2017-02-02 08:59:12", DateTimeFormatter.ofPattern("yyyy-MM-dd hh:mm:ss"));
获得LocalDateTime它打印错误: java.time.format.DateTimeParseException: Text '2017-02-02 08:59:12' could not be