# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

#dependencies
import pandas as pd

# +
measurements = pd.read_csv('hawaii_measurements.csv')
stations = pd.read_csv('hawaii_stations.csv')

stations.head()
# -

#measurements.head()
#date prcp tobs
sum(pd.isnull(measurments['prcp']))


measurements = measurements.dropna()


measurements.count()

#no na no duplicates
stations.duplicated().sum()

measurements.to_csv('clean_hawaii_measurements.csv')
stations.to_csv('clean_hawaii_stations.csv')



StarcoderdataJupyterScriptsDedupFiltered