Giter Site home page Giter Site logo

tienl / surfs_up Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 1.0 1.08 MB

Using sql, sqlalchemy, flask, python pandas and statistical analysis to present a business pitch. Who's ready for some ice cream and surfing?

License: MIT License

Jupyter Notebook 97.72% Python 2.28%
rain december-precipitation rainfall analysis sql sqlalchemy

surfs_up's Introduction

Surf and Treats!

Pitch

This repo demonstrate some techniques using SQL, SQLAlchemy, Flask, Python, Pandas, statistical analysis, and ploting to present an analysis pitch for a surf and ice cream store in Hawaii.

  • hawaii.sqlite - data source file (precipitation values are assumed measured in inches)
  • climate_analysis.ipynb - Jupyter notebook notes
  • app.py - Python code with routes for Flask showing sqlite file data
  • surfs_challenge.ipynb - Jupyter notebook of python code showing the final analysis

Analysis

After previous rounds of data gathering and presentation, I am following up on data requested for seasonality and viability of the surf and ice cream shop. Below is the data we've found by looking at all the June and December months precipitation across our entire data set (2010-01-01 to 2017-08-23). From the analysis of the data, we can see that in June, we average .13 inches of rain. And in December, we average .22 inches of rain. It is clear that there are seasonal differences of rainfall between months. To put in perspective, .1" and .25" of rain are defined by rain insurance agencies as categories next to each other. (Source:https://www.usweatherinsurance.com/rain-insurance/). We also know that the max rainfall difference between June and December are about 2 inches (4.43 vs 6.42). Also worth to note that 3rd quartile stats of both months show similarity of .12 and .15 inches. So in summary of the 2 months, most rainfall amount are similar, but on extreme days there are notable differences in the amount of rain as well.

References:

June

precipitation
count 1574.000000
mean 0.136360
std 0.335731
min 0.000000
25% 0.000000
50% 0.020000
75% 0.120000
max 4.430000

December

precipitation
count 1405.000000
mean 0.216819
std 0.541399
min 0.000000
25% 0.000000
50% 0.030000
75% 0.150000
max 6.420000

June and December Precipitation

Limitation of Analysis and Recommendation

The dataset presented was given as a trusted source file, minimal data validation were performed. Data is assumed to be accurate and not corrupt (no repeats, and all outliers are trusted, etc)

  • With the data and analysis at hand we do not know when are rains occurring, if it is during the day or at night
  • We also do not know how frequent rain is occurring on a month by month basis
  • We also had not examined the severity of the rain.

I recommend we obtain further data on hours of rain occurrence, then filter and understand rain pattern during business hours. Additionally, with the existing data set, we can start on examining how many consecutive rainy days break down month by month. The result may help decide if certain months the business should simply close and let us take a break or vacation. Lastly, we should examine all the months and its outliers in rainfall, as these can be indicative of severe weather events.

surfs_up's People

Contributors

tienl avatar

Stargazers

 avatar  avatar

Forkers

swipswaps

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.