Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
630 B
2
Indexable
Never
!pip install wwo-hist
from wwo_hist import retrieve_hist_data
frequency=12
start_date = '01-JAN-2015'
end_date = '18-JAN-2024'
api_key = '69f40e6010c843b3a6b91432241801'

location_list = ['Oktyabrskiy']

hist_weather_data = retrieve_hist_data(api_key,
                                location_list,
                                start_date,
                                end_date,
                                frequency,
                                location_label = False,
                                export_csv = True,
                                store_df = True)
import pandas as pd
df = pd.read_csv('ru.csv')
Leave a Comment