def append(self, other, inplace=False, **kwargs):
if not isinstance(other, MAGICCData):<EOL><INDENT>other = MAGICCData(other, **kwargs)<EOL><DEDENT>if inplace:<EOL><INDENT>super().append(other, inplace=inplace)<EOL>self.metadata.update(other.metadata)<EOL><DEDENT>else:<EOL><INDENT>res = super().append(other, inplace=inplace)<EOL>res.metadata = deepcopy(self.metadata)<EOL>res.metadata.update(other.metadata)<EOL>return res<EOL><DEDENT>
Append any input which can be converted to MAGICCData to self.

Parameters
----------
other : MAGICCData, pd.DataFrame, pd.Series, str
    Source of data to append.

inplace : bool
    If True, append ``other`` inplace, otherwise return a new ``MAGICCData``
    instance.

**kwargs
    Passed to ``MAGICCData`` constructor (only used if ``MAGICCData`` is not a
    ``MAGICCData`` instance).