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

[QST] in weather example, weird calculation of average. #256

Open
lazykyama opened this issue Dec 6, 2019 · 1 comment
Open

[QST] in weather example, weird calculation of average. #256

lazykyama opened this issue Dec 6, 2019 · 1 comment
Labels
question Further information is requested

Comments

@lazykyama
Copy link

This question is about intermediate_notebooks/examples/weather.ipynb.

At the last of section "5. Using Inner Joins to Filter Weather Observations", total length of stations (like len(atlanta_stations_df)) is used to calculate average precipitation.
However, the numbers of stations are not the same per year. Therefore, the result values are too small in the case that fewer stations only exist.

Why does this notebook use the total number of stations as a denominator?

@lazykyama lazykyama added the question Further information is requested label Dec 6, 2019
@taureandyernv
Copy link
Contributor

assigning to @randerzander , who authored it

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

No branches or pull requests

3 participants