Source code for arch.data.default
"""AAA and BAA rate data used in the examples."""
from pandas import DataFrame
from arch.data.utility import load_file
[docs]
def load() -> DataFrame:
"""
Load the AAA and BAA rates used in the examples.
Returns
-------
data : DataFrame
Data set containing the rates on AAA and BAA rated bonds.
"""
return load_file(__file__, "default.csv.gz")