Skip to content

Using Python, SQLAlchemy, and Matplotlib, an analysis of Hawaii's weather was performed, and a weather API was created to conduct a climate analysis based on the data saved in a SQLite database.

Notifications You must be signed in to change notification settings

SyedFarman/Climate-Analysis-Sqlalchemy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Climate-Analysis-Sqlalchemy

%matplotlib inline from matplotlib import style style.use('fivethirtyeight') import matplotlib.pyplot as plt import numpy as np import pandas as pd import datetime as dt from pprint import pprint Reflect Tables into SQLAlchemy ORM

Python SQL toolkit and Object Relational Mapper

import sqlalchemy from sqlalchemy.ext.automap import automap_base from sqlalchemy.orm import Session from sqlalchemy import create_engine, func

create engine to hawaii.sqlite

engine = create_engine("sqlite:///Resources/hawaii.sqlite", echo=False)

reflect an existing database into a new model

Base = automap_base()

reflect the tables

Base.prepare(autoload_with=engine)

View all of the classes that automap found

Base.classes.keys()

Capture

Capture1

About

Using Python, SQLAlchemy, and Matplotlib, an analysis of Hawaii's weather was performed, and a weather API was created to conduct a climate analysis based on the data saved in a SQLite database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published