Simple time series data for weather prediction time series projects.
The data contains the following information from the UK Met Office location at London Heathrow Airport. The data runs from Jan 1948 to Oct 2020 and includes the following monthly data fields:
Provided by the UK Met Office: https://www.metoffice.gov.uk/research/climate/maps-and-data/historic-station-data Available under Open Government Licence: http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
The following Python code will load into a Pandas DataFrame:
colspecs = [(3, 7), (9,11),(14,18),(22,26),(32,34),(37,42),(45,50)]
data = pd.read_fwf('../input/heathrow-weather-data/heathrowdata.txt',colspecs=colspecs)
The following will remove the first few lines of text
data = data[3:].reset_index(drop=True)
data.columns = data.iloc[1]
data = data[3:].reset_index(drop=True)
Not seeing a result you expected?
Learn how you can add new datasets to our index.
Simple time series data for weather prediction time series projects.
The data contains the following information from the UK Met Office location at London Heathrow Airport. The data runs from Jan 1948 to Oct 2020 and includes the following monthly data fields:
Provided by the UK Met Office: https://www.metoffice.gov.uk/research/climate/maps-and-data/historic-station-data Available under Open Government Licence: http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
The following Python code will load into a Pandas DataFrame:
colspecs = [(3, 7), (9,11),(14,18),(22,26),(32,34),(37,42),(45,50)]
data = pd.read_fwf('../input/heathrow-weather-data/heathrowdata.txt',colspecs=colspecs)
The following will remove the first few lines of text
data = data[3:].reset_index(drop=True)
data.columns = data.iloc[1]
data = data[3:].reset_index(drop=True)