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

py_exploratory_comp_3 Exercise 6 Answer #12

Open
jennysoon opened this issue Feb 12, 2021 · 0 comments
Open

py_exploratory_comp_3 Exercise 6 Answer #12

jennysoon opened this issue Feb 12, 2021 · 0 comments

Comments

@jennysoon
Copy link

I believe there is an error in the answer for exercise 6 oil data. When printing the name of the month when each price is exceeded for the first time, the index refers to the actual number of the month, but since indexing starts at 0, I believe the answer should be
months[int(oilprice[i, 1]) - 1] instead of months[int(oilprice[i, 1])].

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

No branches or pull requests

1 participant