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

[BugFix] Treasury Rates Pandas Warnings #6375

Merged
merged 2 commits into from
May 8, 2024

Conversation

deeleeramone
Copy link
Contributor

  1. Why? (1-3 sentences or a bullet point list):

    • Warning being raised from a Pandas process.
  2. What? (1-3 sentences or a bullet point list):

    • Made a copy of the DataFrame before the operation.

No more warning:

In [2]: obb.fixedincome.government.treasury_rates()
Out[2]: 
OBBject

id: 0663a69e-5065-7226-8000-dd5978363882
results: [{'date': datetime.date(2023, 5, 8), 'week_4': None, 'month_1': 0.05509999...
provider: federal_reserve
warnings: None
chart: None
extra: {'metadata': {'arguments': {'provider_choices': {'provider': 'federal_reserv...

@deeleeramone deeleeramone added bug Fix bug platform OpenBB Platform v4 PRs for v4 labels May 7, 2024
@IgorWounds IgorWounds added this pull request to the merge queue May 8, 2024
Merged via the queue into develop with commit 1a49dfd May 8, 2024
10 checks passed
@IgorWounds IgorWounds deleted the bugfix/treasury-rates-pandas-warnings branch May 9, 2024 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fix bug platform OpenBB Platform v4 PRs for v4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants