Source code for pyFTS.data.INMET

"""
INMET - Instituto Nacional Meteorologia / Brasil

Belo Horizonte station, from 2000-01-01 to  31/12/2012

Source: http://www.inmet.gov.br
"""

from pyFTS.data import common
import pandas as pd


[docs]def get_dataframe() -> pd.DataFrame: """ Get the complete multivariate time series data. :return: Pandas DataFrame """ dat = common.get_dataframe('INMET.csv.bz2', 'https://github.com/petroniocandido/pyFTS/raw/8f20f3634aa6a8f58083bdcd1bbf93795e6ed767/pyFTS/data/INMET.csv.bz2', sep=";", compression='bz2') dat["DataHora"] = pd.to_datetime(dat["DataHora"], format='%d/%m/%Y %H:%M') return dat