def __eq__(self, other):
    '\n        Check two TimeSeries objects are the same, they have matching type, data,\n        metadata and units entries.\n\n        Parameters\n        ----------\n        other : `~sunpy.timeseries.GenericTimeSeries`\n            The second TimeSeries object to compare with.\n\n        Returns\n        -------\n        result : `bool`\n        '
    match = True
    if isinstance(other, type(self)):
        if ((not self.data.equals(other.data)) or (self.meta != other.meta) or (self.units != other.units)):
            match = False
    else:
        match = False
    return match
Check two TimeSeries objects are the same, they have matching type, data,
metadata and units entries.

Parameters
----------
other : `~sunpy.timeseries.GenericTimeSeries`
    The second TimeSeries object to compare with.

Returns
-------
result : `bool`
def __eq__(self, other):
    '\n        Check two TimeSeries objects are the same, they have matching type, data,\n        metadata and units entries.\n\n        Parameters\n        ----------\n        other : `~sunpy.timeseries.GenericTimeSeries`\n            The second TimeSeries object to compare with.\n\n        Returns\n        -------\n        result : `bool`\n        '
    match = True
    if isinstance(other, type(self)):
        if ((not self.data.equals(other.data)) or (self.meta != other.meta) or (self.units != other.units)):
            match = False
    else:
        match = False
    return match