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

Update utils.py #1839

Closed
wants to merge 1 commit into from
Closed

Update utils.py #1839

wants to merge 1 commit into from

Conversation

DrR0bot
Copy link

@DrR0bot DrR0bot commented Jan 23, 2024

Fixing this annoying future warning:

...\Lib\site-packages\yfinance\utils.py:775: FutureWarning: The 'unit' keyword in TimedeltaIndex construction is deprecated and will be removed in a future version. Use pd.to_timedelta instead.
df.index += _pd.TimedeltaIndex(dst_error_hours, 'h')

Fixing this annoying future warning:

...\Lib\site-packages\yfinance\utils.py:775: FutureWarning: The 'unit' keyword in TimedeltaIndex construction is deprecated and will be removed in a future version. Use pd.to_timedelta instead.
  df.index += _pd.TimedeltaIndex(dst_error_hours, 'h')
@ValueRaider
Copy link
Collaborator

Can you rebase to dev branch? Is easy #1084

@ValueRaider
Copy link
Collaborator

ValueRaider commented Jan 24, 2024

Tip: rebase doesn't require a new branch, and rebase will work just follow instructions.

@ValueRaider
Copy link
Collaborator

Fixes #1837

@louiskenyon98
Copy link

Timeline on when this is due to be merged?

@ValueRaider
Copy link
Collaborator

ValueRaider commented Jan 31, 2024

Fixed here #1844

@janfrederik
Copy link

Fixes #1850

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.

4 participants