masstable/masstable.py
def intersection(self, table):
        """
        Select nuclei which also belong to ``table``

        Parameters
        ----------
        table: Table, Table object

        Example:
        ----------
        Table('AME2003').intersection(Table('AME1995'))
        """
        idx = self.df.index & table.df.index
        return Table(df=self.df[idx], name=self.name)
def intersection(self, table):
        idx = self.df.index & table.df.index
        return Table(df=self.df[idx], name=self.name)
def intersection ( self , table ) : idx = self . df . index & table . df . index return Table ( df = self . df [ idx ] , name = self . name )
Select nuclei which also belong to ``table``

        Parameters
        ----------
        table: Table, Table object

        Example:
        ----------
        Table('AME2003').intersection(Table('AME1995'))
Select nuclei which also belong to table