mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
fix output of yfinance.download Date for Colab (#6645)
This commit is contained in:
@@ -355,6 +355,9 @@ def yf_download(
|
||||
threads=False,
|
||||
**kwargs,
|
||||
)
|
||||
if hasattr(data.index, "tz") and data.index.tz is not None:
|
||||
data = data.tz_convert(None)
|
||||
|
||||
except ValueError as exc:
|
||||
raise EmptyDataError() from exc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user