Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix cast error and change unit of measure of distance, fix #15 #44

Closed

Conversation

pietroppeter
Copy link

issue explanation:

  • distance is initially computed as a timedelta in nanoseconds
  • the fix for end of date range distance[distance > 183] = 365 - distance[distance > 183] fails in the comparison distance > 183 and is actually assuming that distance is in days

fix explanation:

  • distance is explictly converted to be measure in days

related change:

  • removed the conversion of distance to be measured in minutes, it will stay measured in days (I do not think this would affect the rest, but I might be mistaken)

issue explanation:
- distance is initially computed as a timedelta in nanoseconds
- the fix for end of date range `distance[distance > 183] = 365 - distance[distance > 183]` fails in the comparison `distance > 183` and is actually assuming that distance is in days
fix explanation:
- distance is explictly converted to be measure in days
related change:
- removed the conversion of distance to be measured in minutes, it will stay measured in days (I do not think this would affect the rest, but I might be mistaken
@CLAassistant
Copy link

CLAassistant commented Dec 5, 2022

CLA assistant check
All committers have signed the CLA.

@AzulGarza
Copy link
Member

Hey! Closing this PR since this was related to a previous repo version. Now, the repo contains the python SDK to access TimeGPT. :)

@AzulGarza AzulGarza closed this Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants