ranaroussi / yfinance

Download market data from Yahoo! Finance's API
https://aroussi.com/post/python-yahoo-finance
Apache License 2.0
14.89k stars 2.44k forks source link

Fix default value for multi_level_index in multi.py #2102

Open dhruvan2006 opened 3 weeks ago

dhruvan2006 commented 3 weeks ago

Fix the default value for the multi_level_index parameter in the download function. Was changed from True to False to reflect expected behavior.

Resolves #2101

ValueRaider commented 3 weeks ago

~But True is still broken, it should still contain a DatetimeIndex.~

dhruvan2006 commented 3 weeks ago

But isn't the index Date column still a DatetimeIndex?

ValueRaider commented 3 weeks ago

You're right. I was going purely off the screenshot showing integer index.