yfinance icon indicating copy to clipboard operation
yfinance copied to clipboard

Documentation Error in download method for multi_level_index argument

Open parasxparkash opened this issue 1 year ago • 1 comments

Describe bug

The multi_level_index argument in the download method is set to True by default, whereas the documentation indicates that it is set to False.

yfinance.download('AAPL').columns=['OPEN','HIGH','LOW','CLOSE']

parasxparkash avatar Nov 16 '24 17:11 parasxparkash

The multi_level_index argument in the download method is set to True by default, whereas the documentation indicates that it is set to False.

yfinance.download('AAPL').columns=['OPEN','HIGH','LOW','CLOSE'] Above code generates multilevel index so cannot be replaced by list. So default method as written in Documentation should be changed to True so that user knows the output before running the code.

parasxparkash avatar Nov 16 '24 17:11 parasxparkash

Already resolved in #2110

dhruvan2006 avatar Nov 21 '24 13:11 dhruvan2006