def __init__(self, data, age):
        """Create a dated proxy record instance

        Parameters
        ----------
        data : DataFrame
            Pandas dataframe containing columns with proxy sample measurements. Must also have 'depth' column.
        age : iterable
            Iterable containing calendar year, or a list of years (cal yr BP) for corresponding to each sample depth in
            data.depth.
        """
        super().__init__(data)
        assert len(data.depth) == len(age)
        self.age = np.array(age)
def __init__ ( self , data , age ) : super ( ) . __init__ ( data ) assert len ( data . depth ) == len ( age ) self . age = np . array ( age )
Create a dated proxy record instance

        Parameters
        ----------
        data : DataFrame
            Pandas dataframe containing columns with proxy sample measurements. Must also have 'depth' column.
        age : iterable
            Iterable containing calendar year, or a list of years (cal yr BP) for corresponding to each sample depth in
            data.depth.