Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default value for multi_level_index in multi.py #2102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dhruvan2006
Copy link
Contributor

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

The default value for the multi_level_index parameter in the download function was changed from True to False to reflect expected behavior.
@ValueRaider
Copy link
Collaborator

ValueRaider commented Oct 26, 2024

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

@dhruvan2006
Copy link
Contributor Author

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

@ValueRaider
Copy link
Collaborator

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

@ValueRaider
Copy link
Collaborator

ValueRaider commented Nov 23, 2024

It seems raising awareness of Ticker.history solves this. Use download in pipelines that expect multiple tickers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

yf.download() returning incorrect index
3 participants