How do i remove the extra row from my data set.
df = ek.get_timeseries (["CAD=;CAD1M=;CAD2M=;CAD3M=;CAD4M=;CAD5M=;CAD6M=;CAD7M=;CAD8M=;CAD9M=;CAD10M=;CAD11M=;CAD1Y="],
start_date="2024-01-01",
end_date="2024-03-31",
fields="CLOSE")
df
Thank you.
@ldempsey
Thank you for reaching out to us.
Is it df.reset_index()?
That worked. I just added inplace to keep the change
df.reset_index(inplace=True)