Skip to content

strftime error output #97843

Closed as not planned
Closed as not planned
@ricoeo

Description

@ricoeo

I am dealing with a time series data, with timestamp as index. While dealing with the index, I find this error.
image
This is my datetransfer function:
from datetime import datetime
def datetransfer(time):
return datetime.fromtimestamp(time).strftime("%A, %B %d, %Y %H:%M:%S")
There is a missing in 2:00:00 but it is so obvious the adjacent time data only differ in 1 hour.

Another similar problem happens in
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions