mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
fix reset_index erasing the name of the column (#6619)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user