Closed lmeyerov closed 4 years ago
Y M are not valid Timedeltas (as they are not fixed intervals)
they the other might be a bug if they are in fact ISO 8601
pull requests welcome
This sounds like pandas docs should not say they support ISO durations
Pandas date time guide:
vs wikipedia summary of iso8601 durations:
[x ] I have checked that this issue has not already been reported.
[ x] I have confirmed this bug exists on the latest version of pandas.
[ ] (optional) I have confirmed this bug exists on the master branch of pandas.
Code Sample, a copy-pastable example
Problem description
Trying most iso8601 duration formats fails.
For above examples:
ValueError: Invalid ISO 8601 Duration format - ...
on Y/M/W, PT1HEncountered while trying to figure out neo4j.time.Duration().isoformat() -> pandas ->arrow > rapids cudf timedelta[*] . Neo4j returns values like
P1Y3M15DT2H3M
andP1Y3M
.