Skip to content

Instantly share code, notes, and snippets.

@gparuthi
Last active June 23, 2017 22:43
Show Gist options
  • Save gparuthi/34eb4176f24da02eda2f9f26e9aee136 to your computer and use it in GitHub Desktop.
Save gparuthi/34eb4176f24da02eda2f9f26e9aee136 to your computer and use it in GitHub Desktop.
Air pressure analysis in python
# Introduction
This analysis helps in comparing cities on air pressure variations.
I calculate the mean variation in air-pressure for a given city using the wunderground data.
# Overall yearly variance output:
- BOS 0.08
- JFK 0.24
- SFO 0.13
- DTW 0.24
- SJU 0.09
# Monthly variation for cities for 2017
**city**|**1**|**2**|**3**|**4**|**5**|**6**
:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:
BOS|0.09|0.08|0.09|0.09|0.07|0.07
DTW|0.27|0.31|0.25|0.26|0.18|0.13
JFK|0.26|0.29|0.29|0.22|0.2|0.14
SFO|0.18|0.18|0.12|0.12|0.1|0.07
SJU|0.1|0.1|0.09|0.09|0.09|0.08
# Conclusion
It seems New York and Michigan are not so good places to live for a person who has air pressure related headaches or migraines.
# Notes
- Used http://jakebathman.github.io/Markdown-Table-Generator/ for converting csv to markdown tables.
- http://dillinger.io to preview markdown
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment