def __finalize__(self, other, method=None, **kwargs):
    '\n        Propagate metadata from other to self.\n\n        Parameters\n        ----------\n        other : the object from which to get the attributes that we are going\n            to propagate\n        method : optional, a passed method name ; possibly to take different\n            types of propagation actions based on this\n\n        '
    if isinstance(other, NDFrame):
        for name in self._metadata:
            object.__setattr__(self, name, getattr(other, name, None))
    return self
Propagate metadata from other to self.

Parameters
----------
other : the object from which to get the attributes that we are going
    to propagate
method : optional, a passed method name ; possibly to take different
    types of propagation actions based on this
def __finalize__(self, other, method=None, **kwargs):
    '\n        Propagate metadata from other to self.\n\n        Parameters\n        ----------\n        other : the object from which to get the attributes that we are going\n            to propagate\n        method : optional, a passed method name ; possibly to take different\n            types of propagation actions based on this\n\n        '
    if isinstance(other, NDFrame):
        for name in self._metadata:
            object.__setattr__(self, name, getattr(other, name, None))
    return self