Closed satoshi closed 9 hours ago
Cause is https://github.com/ranaroussi/yfinance/releases/tag/0.2.47
Which part? I specified multi_level_index=False
but the 00:00:00+00:00 business remained (the Ticker row went away):
import yfinance as yf
vixy = yf.download('VIXY', multi_level_index=False)
print(vixy)
[*********************100%***********************] 1 of 1 completed
Adj Close Close High Low Open Volume
Date
2011-01-04 00:00:00+00:00 158460.00 158460.00 162700.0000 158280.00 158280.00 56
2011-01-05 00:00:00+00:00 155100.00 155100.00 160200.0000 154360.00 160100.00 37
2011-01-06 00:00:00+00:00 155760.00 155760.00 157360.0000 153740.00 154880.00 42
2011-01-07 00:00:00+00:00 156080.00 156080.00 160020.0000 152360.00 154480.00 22
2011-01-10 00:00:00+00:00 155760.00 155760.00 161740.0000 155520.00 159280.00 35
Satoshi, Would you mind telling me where you got the info to add multi_level_index=false? This one help me solve the issue with my python code.
Satoshi, Would you mind telling me where you got the info to add multi_level_index=false? This one help me solve the issue with my python code.
I read this issue: https://github.com/ranaroussi/yfinance/issues/2100#issuecomment-2438442056, and it is something you can specify when calling download: https://github.com/ranaroussi/yfinance/blob/main/yfinance/multi.py#L41
Cause is https://github.com/ranaroussi/yfinance/releases/tag/0.2.47
I was wrong, cause is 0.2.45, and I know the fix - it's not multi_level_index
Fixed in dev
branch
Fixed in
dev
branch
Great, thank you very much!
Describe bug
Until 0.2.44, the Date column only contained the date:
However, 0.2.48 produces the following (notice the 00:00:00+00:00)
Any way to get rid of the 00:00:00+00:00? This makes it really difficult to key table operations off of the Date.
Simple code that reproduces your problem
Debug log
Bad data proof
No response
yfinance
version0.2.44 and 0.2.48
Python version
No response
Operating system
No response