Skip to content

Commit

Permalink
fix reset_index erasing the name of the column (#6619)
Browse files Browse the repository at this point in the history
  • Loading branch information
deeleeramone authored Aug 9, 2024
1 parent 3e24fd6 commit dd13aa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openbb_platform/providers/cboe/openbb_cboe/utils/vix.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ async def get_vx_current(
]
df = df.set_index("symbol")
df = df.filter(items=current_symbols, axis=0).reset_index()
df = df.rename(columns={"index": "symbol"})

expirations: List = []
for month in current_months:
Expand Down

0 comments on commit dd13aa5

Please sign in to comment.